Skip to content

Commit 402d623

Browse files
committed
bugfix(postgresql_psql resource): Remove parameter sensitive from postgresql_psql resource statements, to make it work at all
Related: INFRA-2059
1 parent cf82ba5 commit 402d623

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

manifests/server/role.pp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,6 @@
113113
command => Sensitive($create_role_command),
114114
unless => "SELECT 1 FROM pg_roles WHERE rolname = '${username}'",
115115
require => undef,
116-
sensitive => true,
117116
}
118117

119118
postgresql_psql { "ALTER ROLE \"${username}\" ${superuser_sql}":
@@ -185,7 +184,6 @@
185184
postgresql_psql { "ALTER ROLE ${username} ENCRYPTED PASSWORD ****":
186185
command => Sensitive($pw_command),
187186
unless => Sensitive($unless_pw_command),
188-
sensitive => true,
189187
}
190188
}
191189
} else {

0 commit comments

Comments
 (0)