diff options
author | Tim Smith <tsmith@chef.io> | 2020-07-06 16:58:04 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-07-20 11:45:27 -0700 |
commit | 5edfd2e361ab73a26b08d39885a748f5c858f909 (patch) | |
tree | 5e0498b1f43647d005e147f03b42c9ab8bde3879 /lib/chef/resource/macos_userdefaults.rb | |
parent | 589b1d212723e8dd79c0a0be32472cdd9a07ff42 (diff) | |
download | chef-5edfd2e361ab73a26b08d39885a748f5c858f909.tar.gz |
Update lib/chef/resource/macos_userdefaults.rb
Signed-off-by: Tim Smith <tsmith@chef.io>
Co-authored-by: pete higgins <pete@peterhiggins.org>
Diffstat (limited to 'lib/chef/resource/macos_userdefaults.rb')
-rw-r--r-- | lib/chef/resource/macos_userdefaults.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/macos_userdefaults.rb b/lib/chef/resource/macos_userdefaults.rb index 3bfd280105..8d2c5a4647 100644 --- a/lib/chef/resource/macos_userdefaults.rb +++ b/lib/chef/resource/macos_userdefaults.rb @@ -78,7 +78,7 @@ class Chef desired_state: false property :value, [Integer, Float, String, TrueClass, FalseClass, Hash, Array], - description: "The value of the key. Note: When setting boolean values you can either specify 0/1 or you can pass true/false, 'true'/false', or 'yes'/'no' and we'll automattically convert these to the proper boolean values Apple expects.", + description: "The value of the key. Note: When setting boolean values you can either specify 0/1 or you can pass true/false, 'true'/false', or 'yes'/'no' and we'll automatically convert these to the proper boolean values Apple expects.", coerce: proc { |v| coerce_booleans(v) }, required: true |