This commit is contained in:
John Keates 2015-08-30 22:00:36 +02:00
commit 936484b028

View file

@ -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%}