From 09ae18ee32b61e1b3c607dcc84c9d59d2c300428 Mon Sep 17 00:00:00 2001 From: Thom May Date: Tue, 10 May 2016 17:09:57 +0100 Subject: 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 --- chef-config/lib/chef-config/config.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'chef-config') 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 -- cgit v1.2.1