diff options
author | danielsdeleo <dan@getchef.com> | 2015-03-27 13:12:28 -0700 |
---|---|---|
committer | danielsdeleo <dan@getchef.com> | 2015-03-27 14:54:25 -0700 |
commit | 4827c9d31e68eafdff8d865d40479a18e6382793 (patch) | |
tree | b1d632eed5b1c784eae9ac763eea5c6886f47acf /lib/chef/config.rb | |
parent | 0a089f77adcf988fb43858ae0c446c31ab4727e5 (diff) | |
download | chef-4827c9d31e68eafdff8d865d40479a18e6382793.tar.gz |
Add minimal ohai mode option flagminimal-ohai-mode
Diffstat (limited to 'lib/chef/config.rb')
-rw-r--r-- | lib/chef/config.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/chef/config.rb b/lib/chef/config.rb index a9fa9f1552..b897f9fdbd 100644 --- a/lib/chef/config.rb +++ b/lib/chef/config.rb @@ -333,6 +333,11 @@ class Chef # This can be removed when audit-mode is enabled by default. default :audit_mode, :disabled + # Chef only needs ohai to run the hostname plugin for the most basic + # functionality. If the rest of the ohai plugins are not needed (like in + # most of our testing scenarios) + default :minimal_ohai, false + # 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 # expanding the run list and having the server compute the cookbook version |