summaryrefslogtreecommitdiff
path: root/lib/chef/application
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2016-01-13 11:44:32 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2016-01-13 11:44:32 -0800
commitaf4afcc712d24dbc85a9c020a124acadeed295d2 (patch)
tree08a71e81175177fee945d09bb831d5ae37a24606 /lib/chef/application
parent1edd3dba71b4531bb1a570dd7e387620e8ee61de (diff)
downloadchef-af4afcc712d24dbc85a9c020a124acadeed295d2.tar.gz
autocorrecting Style/TrailingCommalcg/trailing_comma
chefstyle -a fixed 1044 occurrances
Diffstat (limited to 'lib/chef/application')
-rw-r--r--lib/chef/application/windows_service.rb2
-rw-r--r--lib/chef/application/windows_service_manager.rb4
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/chef/application/windows_service.rb b/lib/chef/application/windows_service.rb
index 9becf4b33f..fd7cc7dd18 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 #{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 d969896025..4bb624989e 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