summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2018-07-02 10:25:16 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2018-07-02 10:25:16 -0700
commit35603c7ce1bd3ccf35334ed65152140f0ecaf080 (patch)
tree452c84ce196ce00d672c71a8fa65f86c5a074fac /bin
parenteda2808dce8146bfdb308dd658b1dd565df3562b (diff)
downloadchef-35603c7ce1bd3ccf35334ed65152140f0ecaf080.tar.gz
fix Style/HashSyntax
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/chef-service-manager12
1 files changed, 6 insertions, 6 deletions
diff --git a/bin/chef-service-manager b/bin/chef-service-manager
index c894b10f4f..bbdfe005df 100755
--- a/bin/chef-service-manager
+++ b/bin/chef-service-manager
@@ -25,12 +25,12 @@ require "chef/application/windows_service_manager"
if Chef::Platform.windows?
chef_client_service = {
- :service_name => "chef-client",
- :service_display_name => "Chef Client Service",
- :service_description => "Runs Chef Client on regular, configurable intervals.",
- :service_file_path => File.expand_path("../chef-windows-service", $PROGRAM_NAME),
- :delayed_start => true,
- :dependencies => ["Winmgmt"],
+ service_name: "chef-client",
+ service_display_name: "Chef Client Service",
+ service_description: "Runs Chef Client on regular, configurable intervals.",
+ service_file_path: File.expand_path("../chef-windows-service", $PROGRAM_NAME),
+ delayed_start: true,
+ dependencies: ["Winmgmt"],
}
Chef::Application::WindowsServiceManager.new(chef_client_service).run
else