Skip to content

Commit

Permalink
Mark config file as sensitive (#67)
Browse files Browse the repository at this point in the history
This file contains passwords and other secrets, treating it as sensitive
prevents Puppet from showing the diff and thus leaking the password in
reports.
  • Loading branch information
stevenpost authored Jan 27, 2025
1 parent ece4cb9 commit 2d24790
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/server.pp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
owner => $user,
group => $group,
mode => '0640',
content => template("${module_name}/server/graylog.conf.erb"),
content => Sensitive(template("${module_name}/server/graylog.conf.erb")),
}

case $facts['os']['family'] {
Expand Down

0 comments on commit 2d24790

Please sign in to comment.