Wrap zypper pillar in OS check
All checks were successful
ci/lysergic/push/pipeline Pipeline was successful

Zypper pillar data is not needed on non-SUSE systems.

Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
This commit is contained in:
Georg Pfuetzenreuter 2023-01-22 21:33:27 +01:00
parent 0c2ea3ef95
commit a3583e25a5
Signed by: Georg
GPG Key ID: 1ED2F138E7E6FF57

View File

@ -6,5 +6,7 @@ managed_header_pound: |
### This file is managed via https://git.com.de/LibertaCasa/salt ### This file is managed via https://git.com.de/LibertaCasa/salt
### Manual changes will be overwritten ### Manual changes will be overwritten
{%- if grains['os'] == 'SUSE' %}
zypper: zypper:
refreshdb_force: False refreshdb_force: False
{%- endif %}