From a3583e25a55d6f6d6daf3d237e2addc1386e04a0 Mon Sep 17 00:00:00 2001 From: Georg Pfuetzenreuter Date: Sun, 22 Jan 2023 21:33:27 +0100 Subject: Wrap zypper pillar in OS check Zypper pillar data is not needed on non-SUSE systems. Signed-off-by: Georg Pfuetzenreuter --- pillar/common.sls | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pillar/common.sls') 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 %} -- cgit v1.2.3