Fix: require cluster in service restart
This commit is contained in:
@@ -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() %}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user