diff options
author | Claire McQuin <claire@getchef.com> | 2014-12-11 13:58:39 -0800 |
---|---|---|
committer | tyler-ball <tyleraball@gmail.com> | 2014-12-17 18:52:25 -0800 |
commit | 2dac0859f0fa1f6260fb06d937bcd36086ea166a (patch) | |
tree | 2c3b0e9ee9be78ebc77f0c0a730f783acf6481d2 /lib/chef/config.rb | |
parent | b1842523a032e96fd049d871562dc31c62e4d810 (diff) | |
download | chef-2dac0859f0fa1f6260fb06d937bcd36086ea166a.tar.gz |
Disable audit-mode by default.
* Modify command line option --audit-mode to accept parameters enabled, disabled, or audit-only.
* Emit a warning if audit-mode is enabled or audit-only.
Diffstat (limited to 'lib/chef/config.rb')
-rw-r--r-- | lib/chef/config.rb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/chef/config.rb b/lib/chef/config.rb index 19fa272100..9bf9e9d48e 100644 --- a/lib/chef/config.rb +++ b/lib/chef/config.rb @@ -321,7 +321,12 @@ class Chef default :enable_reporting_url_fatals, false # Possible values for :audit_mode # :enabled, :disabled, :audit_only, - default :audit_mode, :enabled + # + # TODO: 11 Dec 2014: Currently audit-mode is an experimental feature + # and is disabled by default. When users choose to enable audit-mode, + # a warning is issued in application/client#reconfigure. + # This can be removed when audit-mode is enabled by default. + default :audit_mode, :disabled # Policyfile is an experimental feature where a node gets its run list and # cookbook version set from a single document on the server instead of |