summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
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 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)