Skip to content

Commit

Permalink
Use legacy solo mode
Browse files Browse the repository at this point in the history
Fixes: #238

Signed-off-by: Thom May <thom@may.lt>
  • Loading branch information
Thom May committed Nov 7, 2016
1 parent cb0efb3 commit ff88f04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/chef/knife/mixin/helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ module Mixin
module Helper
def set_mode(mode)
if mode == "client"
Chef::Config[:solo] = false
Chef::Config[:solo_legacy_mode] = false
else
Chef::Config[:solo] = true
Chef::Config[:solo_legacy_mode] = true
end
end

Expand Down

0 comments on commit ff88f04

Please sign in to comment.