Merge branch 'postgres-role-password' into 'master'
Fix password command synthax in __postgres_role See merge request ungleich-public/cdist!845
This commit is contained in:
commit
7acbc8709b
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ case "$state_should" in
|
|||
|
||||
[ -n "$password" ] && password="PASSWORD '$password'"
|
||||
cat << EOF
|
||||
su - '$postgres_user' -c "psql postgres -wc 'CREATE ROLE \"$name\" WITH $password $booleans;'"
|
||||
su - '$postgres_user' -c "psql postgres -wc \"CREATE ROLE \\\\\"$name\\\\\" WITH $password $booleans;\""
|
||||
EOF
|
||||
;;
|
||||
absent)
|
||||
|
|
Loading…
Reference in a new issue