mirror of
https://github.com/saltstack-formulas/postgres-formula.git
synced 2025-04-16 09:40:26 +00:00
Merge pull request #202 from xbglowx/conf_dir_mode
Allow setting dir mode for conf_dir in pillar
This commit is contained in:
commit
ad5792ddd4
2 changed files with 2 additions and 1 deletions
|
@ -21,6 +21,7 @@ postgres:
|
|||
env: []
|
||||
|
||||
conf_dir: /var/lib/pgsql/data
|
||||
conf_dir_mode: 0775
|
||||
postgresconf: ""
|
||||
|
||||
macos:
|
||||
|
|
|
@ -72,7 +72,7 @@ postgresql-config-dir:
|
|||
- name: {{ postgres.conf_dir }}
|
||||
- user: {{ postgres.user }}
|
||||
- group: {{ postgres.group }}
|
||||
- dir_mode: 775
|
||||
- dir_mode: {{ postgres.conf_dir_mode }}
|
||||
- force: True
|
||||
- file_mode: 644
|
||||
- recurse:
|
||||
|
|
Loading…
Add table
Reference in a new issue