diff options
author | Stuart Preston <stuart@chef.io> | 2018-09-18 12:05:15 +0100 |
---|---|---|
committer | Stuart Preston <stuart@chef.io> | 2018-09-18 12:05:15 +0100 |
commit | e514a2f79e95b9c04131606c78f27709965bcbbd (patch) | |
tree | df6ac115be317400eb649711ed08d21082b8d4e7 | |
parent | 40b8acd67066c807d95c8133d25a8761dd5800dc (diff) | |
download | chef-e514a2f79e95b9c04131606c78f27709965bcbbd.tar.gz |
Remove potentially sensitive info from the logsp/fix-7634
Signed-off-by: Stuart Preston <stuart@chef.io>
-rw-r--r-- | lib/chef/provider/service/windows.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/service/windows.rb b/lib/chef/provider/service/windows.rb index 59d3fc5a29..28988fdb3d 100644 --- a/lib/chef/provider/service/windows.rb +++ b/lib/chef/provider/service/windows.rb @@ -91,7 +91,7 @@ class Chef::Provider::Service::Windows < Chef::Provider::Service }.reject { |k, v| v.nil? || v.length == 0 } Win32::Service.configure(new_config) - logger.info "#{@new_resource} configured with #{new_config.inspect}" + logger.info "#{@new_resource} configured." # LocalSystem is the default runas user, which is a special service account that should ultimately have the rights of BUILTIN\Administrators, but we wouldn't see that from get_account_right if new_config.key?(:service_start_name) && new_config[:service_start_name].casecmp("localsystem") != 0 |