Tidyup if/else in upstream.sls

This commit is contained in:
noelmcloughlin
2018-03-31 21:59:31 +01:00
parent 43b51148fe
commit 8dfc5a5983

View File

@@ -22,14 +22,11 @@ postgresql-repo:
{%- endif -%} {%- endif -%}
{%- else -%} {%- elif grains.os not in ('Windows', 'MacOS',) %}
# Notify that we don't manage this distro
{% if grains.os not in ('Windows', 'MacOS',) %}
postgresql-repo: postgresql-repo:
test.show_notification: test.show_notification:
- text: | - text: |
PostgreSQL does not provide package repository for {{ grains['osfinger'] }} PostgreSQL does not provide package repository for {{ grains['osfinger'] }}
{% endif %}
{%- endif %} {%- endif %}