summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2020-04-08 08:40:19 -0700
committerGitHub <noreply@github.com>2020-04-08 08:40:19 -0700
commitc8ef21e846b578374534d28d0aaa7b9772985448 (patch)
tree83867b9dd14286c0afb37b59ed50d0270cc03ac6 /lib
parent4dc45fd8c6dfdad1d71c1a766a83c549cfe37a83 (diff)
parent9786aacedfe6671e08b07bd73fd88da5dbf65423 (diff)
downloadchef-c8ef21e846b578374534d28d0aaa7b9772985448.tar.gz
Merge pull request #9623 from MsysTechnologiesllc/sangmeshA/fix_systemd_unit_not_respecting_sensitive_property
Fixed systemd_unit not respecting sensitive property
Diffstat (limited to 'lib')
-rw-r--r--lib/chef/provider/systemd_unit.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/chef/provider/systemd_unit.rb b/lib/chef/provider/systemd_unit.rb
index f1b104de21..39876f7a3f 100644
--- a/lib/chef/provider/systemd_unit.rb
+++ b/lib/chef/provider/systemd_unit.rb
@@ -237,6 +237,7 @@ class Chef
owner "root"
group "root"
mode "0644"
+ sensitive new_resource.sensitive
content new_resource.to_ini
verify :systemd_unit if new_resource.verify
action the_action