diff options
author | Georg Pfuetzenreuter | 2023-01-22 21:33:27 +0100 |
---|---|---|
committer | Georg Pfuetzenreuter | 2023-01-22 21:33:27 +0100 |
commit | a3583e25a55d6f6d6daf3d237e2addc1386e04a0 (patch) | |
tree | 2fe5a588f01d47764ab8b553b36e69c74c5e3fd1 /pillar/common.sls | |
parent | 0c2ea3ef953900177792be68cef813da1f249022 (diff) | |
download | salt-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/common.sls')
-rw-r--r-- | pillar/common.sls | 2 |
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 %} |