lib/chef/provisioning/convergence_strategy/install_sh.rb in chef-provisioning-1.3.0 vs lib/chef/provisioning/convergence_strategy/install_sh.rb in chef-provisioning-1.4.0

- old
+ new

@@ -40,10 +40,10 @@ end install_command = Mixlib::Install.new(chef_version, false, opts).install_command machine.write_file(action_handler, install_sh_path, install_command, :ensure_dir => true) machine.set_attributes(action_handler, install_sh_path, :mode => '0755') - machine.execute(action_handler, "sh -c #{install_sh_path}") + machine.execute(action_handler, "sh -c '#{install_sh_path} #{install_sh_arguments}'") end def converge(action_handler, machine) super