Enhance remove S/W support

This commit is contained in:
N
2018-07-24 21:44:09 +01:00
parent 332fe7b2b5
commit 9d2f69a865
10 changed files with 242 additions and 39 deletions

View File

@@ -36,10 +36,10 @@ postgresql-server:
- group: wheel
- require_in:
- service: postgresql-running
{%- else %}
# Alternatives system. Make server binaries available in $PATH
{%- if 'bin_dir' in postgres and postgres.linux.altpriority %}
{%- elif 'bin_dir' in postgres and postgres.linux.altpriority %}
{%- for bin in postgres.server_bins %}
{%- set path = salt['file.join'](postgres.bin_dir, bin) %}
@@ -56,9 +56,7 @@ postgresql-{{ bin }}-altinstall:
- cmd: postgresql-cluster-prepared
{%- endfor %}
{%- endif %}
{%- endif %}
{%- endif %}
postgresql-cluster-prepared:
file.directory: