-
Notifications
You must be signed in to change notification settings - Fork 270
Open
Labels

Description
When running puppet with --test, passwords are shown in the diff output:
Notice: /Stage[main]/Foreman::Database::Postgresql/Postgresql::Server::Db[foreman]/Postgresql::Server::Role[foreman]/Postgresql_psql[ALTER ROLE foreman ENCRYPTED PASSWORD ****]/command: command changed 'notrun' to 'ALTER ROLE "foreman" ENCRYPTED PASSWORD '$NEWPGPASSWD''
Notice: /Stage[main]/Foreman::Config/File[/etc/foreman/database.yml]/content:
--- /etc/foreman/database.yml 2016-09-22 15:17:30.849893994 +0200
+++ /tmp/puppet-file20160922-2739-1bwkd1t 2016-09-22 15:31:04.026653398 +0200
@@ -24,5 +24,5 @@
port: 5432
database: foreman
username: foreman
- password: "foo"
+ password: "foobar"
pool: 5
The file resources should be declared with { show_diff => false }.
Originally noticed by @elconas