forked from ungleich-public/cdist
[type/__postgres_role] Add note regarding empty passwords
This commit is contained in:
parent
99d82fd0d5
commit
2954347771
1 changed files with 2 additions and 0 deletions
|
@ -59,6 +59,8 @@ psql_query() {
|
||||||
|
|
||||||
psql_set_password() {
|
psql_set_password() {
|
||||||
# NOTE: Always make sure that the password does not end up in psql_history!
|
# NOTE: Always make sure that the password does not end up in psql_history!
|
||||||
|
# NOTE: Never set an empty string as the password, because they can be
|
||||||
|
# interpreted differently by different tooling.
|
||||||
if test -s "${__object:?}/parameter/password"
|
if test -s "${__object:?}/parameter/password"
|
||||||
then
|
then
|
||||||
cat <<-EOF
|
cat <<-EOF
|
||||||
|
|
Loading…
Reference in a new issue