summaryrefslogtreecommitdiff
path: root/lib/chef/config.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/config.rb')
-rw-r--r--lib/chef/config.rb26
1 files changed, 3 insertions, 23 deletions
diff --git a/lib/chef/config.rb b/lib/chef/config.rb
index 92042d5248..66dd4cc77e 100644
--- a/lib/chef/config.rb
+++ b/lib/chef/config.rb
@@ -558,29 +558,9 @@ class Chef
# the number of threads will help.
default :cookbook_sync_threads, 10
- # A whitelisted map of attribute keys you want sent over the wire when node
- # data is saved. We will only use the keys in this hash to whitelist attributes;
- # if the value are anything than another hash, we will ignore them. (You can't
- # magically morph into a blacklist with "false" as a value in the whitelist.)
- #
- # If your data looks like:
- # { "filesystem" => {
- # "/dev/disk0s2" => {
- # "size" => "10mb"
- # },
- # "map - autohome' => {
- # "size" => "10mb"
- # }
- # }
- # }
- # And your whitelist looks like:
- # { "filesystem" => {
- # "/dev/disk0s2" => true
- # }
- # }
- # The entire "map - autohome" subtree will be dropped.
- #
- # The default setting is nil, which collects all data. Setting to {} will not
+ # A whitelisted array of attributes you want sent over the wire when node
+ # data is saved.
+ # The default setting is nil, which collects all data. Setting to [] will not
# collect any data for save.
default :automatic_attribute_whitelist, nil
default :default_attribute_whitelist, nil