diff --git a/templates/pg-create-user-db.sh.j2 b/templates/pg-create-user-db.sh.j2 index 4dd13ec..b4dad4f 100644 --- a/templates/pg-create-user-db.sh.j2 +++ b/templates/pg-create-user-db.sh.j2 @@ -3,7 +3,7 @@ set -e psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" --dbname "$POSTGRES_DB" <<-EOSQL - CREATE USER {{ open_asfa_db_user }} password {{ open_asfa_db_pwd }}; + CREATE USER {{ open_asfa_db_user }} password '{{ open_asfa_db_pwd }}'; CREATE DATABASE {{ open_asfa_db_name }} OWNER {{ open_asfa_db_user }} ENCODING UTF8 LC_COLLATE 'en_US.UTF-8' LC_CTYPE 'en_US.UTF-8'