diff options
author | Thom May <thom@chef.io> | 2016-05-10 17:09:57 +0100 |
---|---|---|
committer | Thom May <thom@chef.io> | 2016-05-16 13:38:12 +0100 |
commit | 09ae18ee32b61e1b3c607dcc84c9d59d2c300428 (patch) | |
tree | 0add1084ac4642c5119dff102000075bf6d58321 /chef-config | |
parent | 9bd561b2fafe03444d690bef0b882a446b327cd6 (diff) | |
download | chef-09ae18ee32b61e1b3c607dcc84c9d59d2c300428.tar.gz |
Ensure that solo specific code is run at the proper time
ie, only when we're in OG mode and not in local mode.
Signed-off-by: Thom May <thom@chef.io>
Diffstat (limited to 'chef-config')
-rw-r--r-- | chef-config/lib/chef-config/config.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/chef-config/lib/chef-config/config.rb b/chef-config/lib/chef-config/config.rb index e237f10412..502852b648 100644 --- a/chef-config/lib/chef-config/config.rb +++ b/chef-config/lib/chef-config/config.rb @@ -392,7 +392,11 @@ module ChefConfig default :rest_timeout, 300 default :yum_timeout, 900 default :yum_lock_timeout, 30 - default :solo, false + default :solo, false + + # Are we running in old Chef Solo legacy mode? + default :solo_legacy_mode, false + default :splay, nil default :why_run, false default :color, false |