summaryrefslogtreecommitdiff
path: root/lib/chef
diff options
context:
space:
mode:
authorAlex Alequin <alexferrer90@gmail.com>2023-02-14 16:19:40 -0500
committerGitHub <noreply@github.com>2023-02-14 16:19:40 -0500
commite12f6096ca457c9c91f6e99577e5c200fa444aa9 (patch)
tree5bd82055abef835f3f3b21ebc76a784574c68d55 /lib/chef
parenta7b8117172713dabea13f853309681305f5c1b57 (diff)
downloadchef-e12f6096ca457c9c91f6e99577e5c200fa444aa9.tar.gz
launchd - array instead of a hash for Apple's associated_bundle_ident… (#13477)
* launchd - array instead of a hash for Apple's associated_bundle_identifiers key Signed-off-by: alex.alequin <alex.alequin@uber.com>
Diffstat (limited to 'lib/chef')
-rw-r--r--lib/chef/resource/launchd.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/chef/resource/launchd.rb b/lib/chef/resource/launchd.rb
index 5ddf6ea0f9..719938dec2 100644
--- a/lib/chef/resource/launchd.rb
+++ b/lib/chef/resource/launchd.rb
@@ -21,7 +21,7 @@ require_relative "../resource"
class Chef
class Resource
class Launchd < Chef::Resource
- provides :launchd
+ provides :launchd, os: "darwin"
description "Use the **launchd** resource to manage system-wide services (daemons) and per-user services (agents) on the macOS platform."
introduced "12.8"
@@ -129,8 +129,8 @@ class Chef
property :abandon_process_group, [ TrueClass, FalseClass ],
description: "If a job dies, all remaining processes with the same process ID may be kept running. Set to true to kill all remaining processes."
- property :associated_bundle_identifiers, Hash,
- description: "This optional key indicates which bundles the **Login Items Added by Apps** panel associates with the helper executable."
+ property :associated_bundle_identifiers, Array,
+ description: "This optional key indicates which bundles the Login Items Added by Apps panel associates with the helper executable."
property :debug, [ TrueClass, FalseClass ],
description: "Sets the log mask to `LOG_DEBUG` for this job."