Convert hard-coded postgres user and group to variables, enforce ownership of conf dir, don't create pg_hba.conf unless initdb has succeeded
This commit is contained in:
@@ -20,3 +20,5 @@ postgres:
|
||||
pg_hba.conf: salt://postgres/pg_hba.conf
|
||||
commands:
|
||||
initdb: service postgresql initdb
|
||||
postgres_user: postgres
|
||||
postgres_group: postgres
|
||||
|
||||
Reference in New Issue
Block a user