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/application/solo.rb | |
parent | 0a089f77adcf988fb43858ae0c446c31ab4727e5 (diff) | |
download | chef-4827c9d31e68eafdff8d865d40479a18e6382793.tar.gz |
Add minimal ohai mode option flagminimal-ohai-mode
Diffstat (limited to 'lib/chef/application/solo.rb')
-rw-r--r-- | lib/chef/application/solo.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/chef/application/solo.rb b/lib/chef/application/solo.rb index 97a1952d0f..dd09d65b42 100644 --- a/lib/chef/application/solo.rb +++ b/lib/chef/application/solo.rb @@ -180,6 +180,11 @@ class Chef::Application::Solo < Chef::Application :description => "Set maximum duration to wait for another client run to finish, default is indefinitely.", :proc => lambda { |s| s.to_i } + option :minimal_ohai, + :long => "--minimal-ohai", + :description => "Only run the bare minimum ohai plugins chef needs to function", + :boolean => true + attr_reader :chef_client_json def initialize |