diff --git a/salt/pillars/repositories.sls b/salt/pillars/repositories.sls index 37d34a8..14d92fa 100644 --- a/salt/pillars/repositories.sls +++ b/salt/pillars/repositories.sls @@ -1,17 +1,16 @@ repositories: google-chrome: humanname: Google Chrome - baseurl: https://dl.google.com/linux/chrome/rpm/stable/x86_64 + baseurl: http://dl.google.com/linux/chrome/rpm/stable/x86_64/ enabled: True gpgautoimport: True gpgkey: https://dl.google.com/linux/linux_signing_key.pub refresh: True -{% if grains['lsb_distrib_id'] == "openSUSE Leap" %} +{% if grains['os'] == "SUSE" %} packman: humanname: packman - baseurl: https://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Leap_{{ grains['lsb_distrib_release'] }}/ + baseurl: https://ftp.gwdg.de/pub/linux/misc/packman/suse/{{ grains['oscodename'].replace(" ", "_") }}/ enabled: True gpgautoimport: True refresh: True {% endif %} -