diff options
Diffstat (limited to 'chef-config/lib/chef-config/config.rb')
-rw-r--r-- | chef-config/lib/chef-config/config.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chef-config/lib/chef-config/config.rb b/chef-config/lib/chef-config/config.rb index 82f25f4139..ed8fab9ee4 100644 --- a/chef-config/lib/chef-config/config.rb +++ b/chef-config/lib/chef-config/config.rb @@ -715,6 +715,11 @@ module ChefConfig ENV.key?("CHEF_TREAT_DEPRECATION_WARNINGS_AS_ERRORS") end + # Which deprecations warnings to silence. Can be set to `true` to silence + # all warnings, or an array of strings like either `"deprecation_type"` or + # `"filename.rb:lineno"`. + default :silence_deprecation_warnings, [] + # Whether the resource count should be updated for log resource # on running chef-client default :count_log_resource_updates, true |