summaryrefslogtreecommitdiff
path: root/lib/chef/shell.rb
diff options
context:
space:
mode:
authorSalim Afiune <afiune@chef.io>2017-03-20 16:41:04 -0400
committerSalim Afiune <afiune@chef.io>2017-03-20 16:41:04 -0400
commitb8bfb5631a1ad9ebc61a950648d67bf3723d640d (patch)
tree31dd02a2471663155d85437a2e036f61298dd75b /lib/chef/shell.rb
parent472f0145f7a6b5044ef74ac153abe95cf54a8f9d (diff)
downloadchef-b8bfb5631a1ad9ebc61a950648d67bf3723d640d.tar.gz
FIX: use right option name to load config
Signed-off-by: Salim Afiune <afiune@chef.io>
Diffstat (limited to 'lib/chef/shell.rb')
-rw-r--r--lib/chef/shell.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/shell.rb b/lib/chef/shell.rb
index 6d6d1437e2..85a8ab9cc4 100644
--- a/lib/chef/shell.rb
+++ b/lib/chef/shell.rb
@@ -338,7 +338,7 @@ FOOTER
Chef::Config.platform_specific_path("/etc/chef/solo.rb")
elsif config[:client]
Chef::Config.platform_specific_path("/etc/chef/client.rb")
- elsif config[:solo]
+ elsif config[:solo_shell]
Chef::WorkstationConfigLoader.new(nil, Chef::Log).config_location
else
nil