diff options
Diffstat (limited to 'lib/chef/application')
-rw-r--r-- | lib/chef/application/windows_service.rb | 2 | ||||
-rw-r--r-- | lib/chef/application/windows_service_manager.rb | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/chef/application/windows_service.rb b/lib/chef/application/windows_service.rb index a9f7664e4f..0328a65487 100644 --- a/lib/chef/application/windows_service.rb +++ b/lib/chef/application/windows_service.rb @@ -198,7 +198,7 @@ class Chef result = shell_out( "chef-client.bat #{config_params}", :timeout => Chef::Config[:windows_service][:watchdog_timeout], - :logger => Chef::Log, + :logger => Chef::Log ) Chef::Log.debug "#{result.stdout}" Chef::Log.debug "#{result.stderr}" diff --git a/lib/chef/application/windows_service_manager.rb b/lib/chef/application/windows_service_manager.rb index 74ee395139..6f81dccc67 100644 --- a/lib/chef/application/windows_service_manager.rb +++ b/lib/chef/application/windows_service_manager.rb @@ -124,11 +124,11 @@ class Chef :binary_path_name => cmd, :service_start_name => @service_start_name, :password => @password, - :dependencies => @dependencies, + :dependencies => @dependencies ) ::Win32::Service.configure( :service_name => @service_name, - :delayed_start => @delayed_start, + :delayed_start => @delayed_start ) unless @delayed_start.nil? puts "Service '#{@service_name}' has successfully been installed." end |