mirror of
https://github.com/saltstack-formulas/postgres-formula.git
synced 2025-04-17 10:10:31 +00:00
Merge pull request #57 from webplatform/master
Added superuser pillar, missing conf_dir directory
This commit is contained in:
commit
9455349a8b
1 changed files with 5 additions and 0 deletions
|
@ -5,6 +5,10 @@ include:
|
|||
- postgres.upstream
|
||||
{% endif %}
|
||||
|
||||
{{ postgres.conf_dir }}:
|
||||
file.directory:
|
||||
- makedirs: True
|
||||
|
||||
install-postgresql:
|
||||
pkg.installed:
|
||||
- name: {{ postgres.pkg }}
|
||||
|
@ -83,6 +87,7 @@ postgres-user-{{ name }}:
|
|||
- replication: {{ user.get('replication', False) }}
|
||||
- password: {{ user.get('password', 'changethis') }}
|
||||
- user: {{ user.get('runas', 'postgres') }}
|
||||
- superuser: {{ user.get('superuser', False) }}
|
||||
- require:
|
||||
- service: {{ postgres.service }}
|
||||
{% endfor%}
|
||||
|
|
Loading…
Add table
Reference in a new issue