diff --git a/salt/repos/default.sls b/salt/repos/default.sls index a9dd69dc4..c8e607a9e 100644 --- a/salt/repos/default.sls +++ b/salt/repos/default.sls @@ -339,7 +339,7 @@ lock_firewalld_prometheus_config_cmd: - name: zypper addlock firewalld-prometheus-config {% endif %} -{% elif 'uyuni-master' in grains.get('product_version', '') or 'uyuni-pr' in grains.get('product_version', '') %} +{% elif 'uyuni-master' in grains.get('product_version') | default('', true) %} tools_update_repo: pkgrepo.managed: - baseurl: http://{{ grains.get("mirror") | default("download.opensuse.org", true) }}/repositories/systemsmanagement:/Uyuni:/Master:/SLE15-Uyuni-Client-Tools/SLE_15/