Merge branch 'master' of https://github.com/saltstack-formulas/postgres-formula
This commit is contained in:
@@ -5,6 +5,10 @@ include:
|
|||||||
- postgres.upstream
|
- postgres.upstream
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{{ postgres.conf_dir }}:
|
||||||
|
file.directory:
|
||||||
|
- makedirs: True
|
||||||
|
|
||||||
install-postgresql:
|
install-postgresql:
|
||||||
pkg.installed:
|
pkg.installed:
|
||||||
- name: {{ postgres.pkg }}
|
- name: {{ postgres.pkg }}
|
||||||
@@ -83,6 +87,7 @@ postgres-user-{{ name }}:
|
|||||||
- replication: {{ user.get('replication', False) }}
|
- replication: {{ user.get('replication', False) }}
|
||||||
- password: {{ user.get('password', 'changethis') }}
|
- password: {{ user.get('password', 'changethis') }}
|
||||||
- user: {{ user.get('runas', 'postgres') }}
|
- user: {{ user.get('runas', 'postgres') }}
|
||||||
|
- superuser: {{ user.get('superuser', False) }}
|
||||||
- require:
|
- require:
|
||||||
- service: {{ postgres.service }}
|
- service: {{ postgres.service }}
|
||||||
{% endfor%}
|
{% endfor%}
|
||||||
|
|||||||
Reference in New Issue
Block a user