diff options
author | Tim Smith <tsmith@chef.io> | 2020-04-08 10:17:25 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-08 10:17:25 -0700 |
commit | d440af6c23770a5040d7d494776245a8ebb7827d (patch) | |
tree | 844f233e6188ce090357d9985d4f427221595be5 /lib | |
parent | 7e399435937d6bb7a73b50b54938863e5e482920 (diff) | |
parent | 03f842ed41370f5c696c181be39b4902f8e201ac (diff) | |
download | chef-d440af6c23770a5040d7d494776245a8ebb7827d.tar.gz |
Merge pull request #9631 from chef/sensitive_systemd
Fixed systemd_unit not respecting sensitive property
Diffstat (limited to 'lib')
-rw-r--r-- | lib/chef/provider/systemd_unit.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/chef/provider/systemd_unit.rb b/lib/chef/provider/systemd_unit.rb index b7bd2b4e2d..8fc738d2db 100644 --- a/lib/chef/provider/systemd_unit.rb +++ b/lib/chef/provider/systemd_unit.rb @@ -237,6 +237,7 @@ class Chef f.owner "root" f.group "root" f.mode "0644" + f.sensitive new_resource.sensitive f.content new_resource.to_ini f.verify :systemd_unit if new_resource.verify end.run_action(action) |