lib/chef_metal/transport/winrm.rb in chef-metal-0.14.1 vs lib/chef_metal/transport/winrm.rb in chef-metal-0.14.2

- old
+ new

@@ -17,9 +17,10 @@ attr_reader :options attr_reader :config def execute(command, execute_options = {}) output = with_execute_timeout(execute_options) do + session.set_timeout(execute_timeout(execute_options)) session.run_powershell_script(command) do |stdout, stderr| stream_chunk(execute_options, stdout, stderr) end end WinRMResult.new(command, execute_options, config, output)