lib/chef_metal/machine/basic_machine.rb in chef-metal-0.8.2 vs lib/chef_metal/machine/basic_machine.rb in chef-metal-0.9
- old
+ new
@@ -17,11 +17,11 @@
# nothing is guaranteed except that converge() will work when this is done.
def setup_convergence(action_handler, machine_resource)
convergence_strategy.setup_convergence(action_handler, self, machine_resource)
end
- def converge(action_handler)
- convergence_strategy.converge(action_handler, self)
+ def converge(action_handler, chef_server)
+ convergence_strategy.converge(action_handler, self, chef_server)
end
def execute(action_handler, command, options = {})
action_handler.perform_action "run '#{command}' on #{node['name']}" do
result = transport.execute(command, options)