mirror of
https://github.com/saltstack-formulas/postgres-formula.git
synced 2025-04-17 10:10:31 +00:00
ensure proper permissions for postgresql dir
This commit is contained in:
parent
4f3e1cb8db
commit
38e5962600
1 changed files with 5 additions and 0 deletions
|
@ -8,6 +8,11 @@ include:
|
|||
{{ postgres.conf_dir }}:
|
||||
file.directory:
|
||||
- makedirs: True
|
||||
- user: postgres
|
||||
- group: postgres
|
||||
- dir_mode: 700
|
||||
- clean: True
|
||||
- unless: test -f {{ postgres.conf_dir }}/PG_VERSION
|
||||
|
||||
install-postgresql:
|
||||
pkg.installed:
|
||||
|
|
Loading…
Add table
Reference in a new issue