mirror of
https://github.com/saltstack-formulas/postgres-formula.git
synced 2025-04-15 17:20:25 +00:00
Fix: require cluster in service restart
This commit is contained in:
parent
5931800719
commit
809629539f
1 changed files with 5 additions and 0 deletions
|
@ -207,6 +207,11 @@ postgresql-pg_ident:
|
|||
{%- endif %}
|
||||
- require:
|
||||
- file: postgresql-config-dir
|
||||
{%- if postgres.prepare_cluster.run %}
|
||||
- cmd: postgresql-cluster-prepared
|
||||
{%- else %}
|
||||
- file: postgresql-cluster-prepared
|
||||
{%- endif %}
|
||||
|
||||
{%- for name, tblspace in postgres.tablespaces|dictsort() %}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue