ensure proper permissions for postgresql dir

This commit is contained in:
Roman Inflianskas 2015-11-23 13:57:19 +03:00
parent 4f3e1cb8db
commit 38e5962600

View file

@ -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: