Fix: require cluster in service restart

This commit is contained in:
Alexander Weidinger 2019-01-14 14:57:42 +01:00
parent 5931800719
commit 809629539f

View file

@ -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() %}