summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pillar/common/init.sls (renamed from pillar/common.sls)6
-rw-r--r--pillar/common/suse.sls3
2 files changed, 4 insertions, 5 deletions
diff --git a/pillar/common.sls b/pillar/common/init.sls
index d423f73..7665aa6 100644
--- a/pillar/common.sls
+++ b/pillar/common/init.sls
@@ -1,12 +1,8 @@
include:
- role.salt.common
- role.salt.minion
+ - common.{{ grains['os'] | lower }}
managed_header_pound: |
### This file is managed via https://git.com.de/LibertaCasa/salt
### Manual changes will be overwritten
-
-{%- if grains['os'] == 'SUSE' %}
-zypper:
- refreshdb_force: False
-{%- endif %}
diff --git a/pillar/common/suse.sls b/pillar/common/suse.sls
new file mode 100644
index 0000000..4105c37
--- /dev/null
+++ b/pillar/common/suse.sls
@@ -0,0 +1,3 @@
+zypper:
+ refreshdb_force: False
+