diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2016-02-19 09:28:33 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2016-02-19 09:28:33 -0800 |
commit | 92bec4bb96d857f027068fc56af46c76c484fd50 (patch) | |
tree | 2cffea3fc9466d0c5e2baa7cc7630abb0ed7aecb /lib/chef/application | |
parent | 6077b99f6ad1bc9a082f575f3818e69f05d8c8dc (diff) | |
download | chef-92bec4bb96d857f027068fc56af46c76c484fd50.tar.gz |
flip multiline function arguments aroundlcg/rubocop-0.37.2
no enforced trailing comma on arguments...
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 |