summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Preston <stuart@chef.io>2018-09-18 12:05:15 +0100
committerTim Smith <tsmith@chef.io>2018-09-25 12:36:02 -0700
commit0da5050d59494d968113cedcda80ea8f48e5c603 (patch)
tree83ddeee305d1a0c3d29e361b3865eeb76ef52b68
parent9f9ecd1b31193b617326d9d2bb2115b7af91bd96 (diff)
downloadchef-windows_service.tar.gz
Remove potentially sensitive info from the logwindows_service
Signed-off-by: Stuart Preston <stuart@chef.io>
-rw-r--r--lib/chef/provider/service/windows.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/service/windows.rb b/lib/chef/provider/service/windows.rb
index 931e320695..71427a410d 100644
--- a/lib/chef/provider/service/windows.rb
+++ b/lib/chef/provider/service/windows.rb
@@ -74,7 +74,7 @@ class Chef::Provider::Service::Windows < Chef::Provider::Service
}.reject { |k, v| v.nil? || v.length == 0 }
Win32::Service.configure(new_config)
- Chef::Log.info "#{@new_resource} configured with #{new_config.inspect}"
+ Chef::Log.info "#{@new_resource} configured."
if new_config.has_key?(:service_start_name)
unless Chef::ReservedNames::Win32::Security.get_account_right(canonicalize_username(new_config[:service_start_name])).include?(SERVICE_RIGHT)