mirror of
https://github.com/saltstack-formulas/postgres-formula.git
synced 2025-04-16 17:50:27 +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 %}
|
{%- endif %}
|
||||||
- require:
|
- require:
|
||||||
- file: postgresql-config-dir
|
- 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() %}
|
{%- for name, tblspace in postgres.tablespaces|dictsort() %}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue