mirror of
https://github.com/saltstack-formulas/postgres-formula.git
synced 2025-04-16 09:40:26 +00:00
parent
23b9c22398
commit
10e8fa89ba
1 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,7 @@ postgresql:
|
|||
- require:
|
||||
- pkg: {{ postgres.pkg }}
|
||||
|
||||
{% if 'pg_hba.conf' in pillar['postgres'] %}
|
||||
{% if 'pg_hba.conf' in pillar.get('postgres', {}) %}
|
||||
pg_hba.conf:
|
||||
file.managed:
|
||||
- name: {{ postgres.pg_hba }}
|
||||
|
@ -26,7 +26,7 @@ pg_hba.conf:
|
|||
- service: postgresql
|
||||
{% endif %}
|
||||
|
||||
{% if 'db' in pillar['postgres'] %}
|
||||
{% if 'db' in pillar.get('postgres', {}) %}
|
||||
postgres-app-user:
|
||||
postgres_user.present:
|
||||
- name: {{ pillar['postgres']['db']['user'] }}
|
||||
|
|
Loading…
Add table
Reference in a new issue