Enhance remove S/W support
This commit is contained in:
@@ -23,7 +23,11 @@ postgresql-{{ bin }}-altinstall:
|
||||
- link: {{ salt['file.join']('/usr/bin', bin) }}
|
||||
- path: {{ path }}
|
||||
- priority: {{ postgres.linux.altpriority }}
|
||||
{% if grains.os in ('Fedora', 'CentOS',) %} {# bypass bug #}
|
||||
- onlyif: alternatives --display {{ bin }}
|
||||
{% else %}
|
||||
- onlyif: test -f {{ path }}
|
||||
{% endif %}
|
||||
|
||||
{%- endfor %}
|
||||
{%- endif %}
|
||||
|
||||
Reference in New Issue
Block a user