diff options
author | markgibbons <mark.gibbons@nordstrom.com> | 2016-12-12 10:04:15 -0800 |
---|---|---|
committer | markgibbons <mark.gibbons@nordstrom.com> | 2016-12-12 10:11:24 -0800 |
commit | 5e75740ed6347d06494a1001e1111f87a7b0fe75 (patch) | |
tree | ded1838e6873900edd249b97f1e979b9f66b70e8 /lib/chef/resource/service.rb | |
parent | f3ffecebf4ebe7deaae37a56269a77f081b03218 (diff) | |
download | chef-5e75740ed6347d06494a1001e1111f87a7b0fe75.tar.gz |
smf_recursive: Rename the property "recursive" to "options".
Allow options to be an array or a string.
Allow the additional svcadm options for the enable and disable actions.
Signed-off-by: markgibbons <mark.gibbons@nordstrom.com>
Diffstat (limited to 'lib/chef/resource/service.rb')
-rw-r--r-- | lib/chef/resource/service.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/resource/service.rb b/lib/chef/resource/service.rb index c230278434..4e87966552 100644 --- a/lib/chef/resource/service.rb +++ b/lib/chef/resource/service.rb @@ -213,11 +213,11 @@ class Chef end end - def recursive(arg = nil) + def options(arg = nil) set_or_return( :user, arg, - :kind_of => [ TrueClass, FalseClass ] + :kind_of => [ Array, String ] ) end |