From 8dfc5a5983ac8f06b42db038d19e3c92cdcc6bb3 Mon Sep 17 00:00:00 2001 From: noelmcloughlin Date: Sat, 31 Mar 2018 21:59:31 +0100 Subject: [PATCH] Tidyup if/else in upstream.sls --- postgres/upstream.sls | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/postgres/upstream.sls b/postgres/upstream.sls index cf92872..2fae147 100644 --- a/postgres/upstream.sls +++ b/postgres/upstream.sls @@ -22,14 +22,11 @@ postgresql-repo: {%- 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: test.show_notification: - text: | PostgreSQL does not provide package repository for {{ grains['osfinger'] }} - {% endif %} {%- endif %}