summaryrefslogtreecommitdiffstats
path: root/pillar
diff options
context:
space:
mode:
authorGeorg Pfuetzenreuter2023-01-22 21:33:27 +0100
committerGeorg Pfuetzenreuter2023-01-22 21:33:27 +0100
commita3583e25a55d6f6d6daf3d237e2addc1386e04a0 (patch)
tree2fe5a588f01d47764ab8b553b36e69c74c5e3fd1 /pillar
parent0c2ea3ef953900177792be68cef813da1f249022 (diff)
downloadsalt-a3583e25a55d6f6d6daf3d237e2addc1386e04a0.tar.gz
salt-a3583e25a55d6f6d6daf3d237e2addc1386e04a0.tar.bz2
salt-a3583e25a55d6f6d6daf3d237e2addc1386e04a0.zip
Wrap zypper pillar in OS check
Zypper pillar data is not needed on non-SUSE systems. Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
Diffstat (limited to 'pillar')
-rw-r--r--pillar/common.sls2
1 files changed, 2 insertions, 0 deletions
diff --git a/pillar/common.sls b/pillar/common.sls
index 0440484..d423f73 100644
--- a/pillar/common.sls
+++ b/pillar/common.sls
@@ -6,5 +6,7 @@ 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 %}