mirror of
https://github.com/saltstack-formulas/postgres-formula.git
synced 2025-04-16 09:40:26 +00:00
Moved conf file watch statement into the if-statement
This commit is contained in:
parent
2bd55a5a16
commit
23b9c22398
1 changed files with 2 additions and 2 deletions
|
@ -8,8 +8,6 @@ postgresql:
|
|||
- running
|
||||
- enable: true
|
||||
- name: {{ postgres.service }}
|
||||
- watch:
|
||||
- file: {{ postgres.pg_hba }}
|
||||
- require:
|
||||
- pkg: {{ postgres.pkg }}
|
||||
|
||||
|
@ -24,6 +22,8 @@ pg_hba.conf:
|
|||
- mode: 644
|
||||
- require:
|
||||
- pkg: {{ postgres.pkg }}
|
||||
- watch_in:
|
||||
- service: postgresql
|
||||
{% endif %}
|
||||
|
||||
{% if 'db' in pillar['postgres'] %}
|
||||
|
|
Loading…
Add table
Reference in a new issue