diff options
author | Tim Smith <tsmith@chef.io> | 2019-05-24 10:07:15 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-24 10:07:15 -0700 |
commit | 03efc937799f098abdf4f8244bd3c00d6fd62ab2 (patch) | |
tree | a1c956f0a0ed0bb702603adeffecdac85089d6cc /lib/chef/resource | |
parent | 40d62b29e6072a212036ce1953657bb7dc4ab399 (diff) | |
parent | d4e0929011155d939c384f62820b524ed6646951 (diff) | |
download | chef-03efc937799f098abdf4f8244bd3c00d6fd62ab2.tar.gz |
Merge pull request #8582 from chilcote/launch_events
launchd: add launch_events property
Diffstat (limited to 'lib/chef/resource')
-rw-r--r-- | lib/chef/resource/launchd.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/chef/resource/launchd.rb b/lib/chef/resource/launchd.rb index 331124bf13..d9d2af7edf 100644 --- a/lib/chef/resource/launchd.rb +++ b/lib/chef/resource/launchd.rb @@ -161,6 +161,9 @@ class Chef introduced: "12.14", description: "Keep a job running continuously (true) or allow demand and conditions on the node to determine if the job keeps running (false)." + property :launch_events, [ Hash ], + description: "Specify higher-level event types to be used as launch-on-demand event sources." + property :launch_only_once, [ TrueClass, FalseClass ], description: "Specify if a job can be run only one time. Set this value to true if a job cannot be restarted without a full machine reboot." |