summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-07-20 17:13:06 -0700
committerTim Smith <tsmith84@gmail.com>2020-07-20 17:13:06 -0700
commiteef6b98e73abb86ff2b18465919434cf48cc9cad (patch)
treeecf6c498ea6ded38dbe906b604e35455f9f3db9e
parent7bc7edc2223993c32823c36f7f8ea0edc61a1649 (diff)
downloadchef-eef6b98e73abb86ff2b18465919434cf48cc9cad.tar.gz
Clarify our magic. There's less than before
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--lib/chef/resource/macos_userdefaults.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/macos_userdefaults.rb b/lib/chef/resource/macos_userdefaults.rb
index f45141957a..7f89b093d0 100644
--- a/lib/chef/resource/macos_userdefaults.rb
+++ b/lib/chef/resource/macos_userdefaults.rb
@@ -83,7 +83,7 @@ class Chef
introduced: "16.3"
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 automatically convert these to the proper boolean values Apple expects.",
+ description: "The value of the key. Note: If you set the `type` property to `bool` we'll automatically try to convert various `String` forms of the Boolean true/false that Apple accepts in the defaults command: 0/1, 'TRUE'/'FALSE,' 'true'/false', 'YES'/'NO', or 'yes'/'no'.",
required: [:write]
property :type, String,