From 170e642377b85bbd4ec62d4185c622a2ddb1b5fb Mon Sep 17 00:00:00 2001 From: Jonas Forsberg Date: Tue, 4 Aug 2020 10:28:47 +0200 Subject: [PATCH] changed packman repo to also include other versions --- salt/pillars/repositories.sls | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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 %} -