From 0433114083a2fcc22b20ab2358c7b0bd2d5feb6b Mon Sep 17 00:00:00 2001 From: Alexander Weidinger Date: Wed, 10 Apr 2019 10:41:07 +0200 Subject: [PATCH] osmap: Raspbian used the Debian repo --- salt/osmap.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/salt/osmap.yaml b/salt/osmap.yaml index 3d88110..87d2f41 100644 --- a/salt/osmap.yaml +++ b/salt/osmap.yaml @@ -13,6 +13,7 @@ {% set os_lower = salt['grains.get']('os')|lower %} {% set osmajorrelease = salt['grains.get']('osmajorrelease', osrelease)|string %} {% set oscodename = salt['grains.get']('oscodename') %} +{% set os_family_lower = salt['grains.get']('os_family')|lower %} Fedora: pygit2: python2-pygit2 @@ -29,8 +30,8 @@ Ubuntu: install_from_package: Null Raspbian: - pkgrepo: 'deb http://repo.saltstack.com/{{ py_ver_dir }}/{{ os_lower }}/{{ osmajorrelease }}/armhf/{{ salt_release }} {{ oscodename }} main' - key_url: 'https://repo.saltstack.com/{{ py_ver_dir }}/{{ os_lower }}/{{ osmajorrelease }}/armhf/{{ salt_release }}/SALTSTACK-GPG-KEY.pub' + pkgrepo: 'deb http://repo.saltstack.com/{{ py_ver_dir }}/{{ os_family_lower }}/{{ osmajorrelease }}/armhf/{{ salt_release }} {{ oscodename }} main' + key_url: 'https://repo.saltstack.com/{{ py_ver_dir }}/{{ os_family_lower }}/{{ osmajorrelease }}/armhf/{{ salt_release }}/SALTSTACK-GPG-KEY.pub' SmartOS: salt_master: salt