Commit 7acbc870 authored by Darko Poljak's avatar Darko Poljak

Merge branch 'postgres-role-password' into 'master'

Fix password command synthax in __postgres_role

See merge request !845
parents 58841fc4 a1536933
Pipeline #880 passed with stage
in 49 seconds
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment