|
|
|
|
|
|
|
|
{% set os_family_map = salt['grains.filter_by']({ |
|
|
{% set os_family_map = salt['grains.filter_by']({ |
|
|
'Debian': { |
|
|
'Debian': { |
|
|
'pkgrepo': 'deb http://repo.saltstack.com/apt/' + |
|
|
'pkgrepo': 'deb http://repo.saltstack.com/apt/' + |
|
|
salt['grains.get']('os')|lower + '/' + salt['grains.get']('osmajorrelease', osrelease) + '/amd64/' + salt_release + ' ' + salt['grains.get']('oscodename') + ' main', |
|
|
|
|
|
'key_url': 'https://repo.saltstack.com/apt/' + salt['grains.get']('os')|lower + '/' + salt['grains.get']('osmajorrelease', osrelease) + '/amd64/' + salt_release + '/SALTSTACK-GPG-KEY.pub', |
|
|
|
|
|
|
|
|
salt['grains.get']('os')|lower + '/' + salt['grains.get']('osmajorrelease', osrelease)|string + '/amd64/' + salt_release + ' ' + salt['grains.get']('oscodename') + ' main', |
|
|
|
|
|
'key_url': 'https://repo.saltstack.com/apt/' + salt['grains.get']('os')|lower + '/' + salt['grains.get']('osmajorrelease', osrelease)|string + '/amd64/' + salt_release + '/SALTSTACK-GPG-KEY.pub', |
|
|
'libgit2': 'libgit2-22', |
|
|
'libgit2': 'libgit2-22', |
|
|
'gitfs': { |
|
|
'gitfs': { |
|
|
'pygit2': { |
|
|
'pygit2': { |
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
'Raspbian': { |
|
|
'Raspbian': { |
|
|
'pkgrepo': 'deb http://repo.saltstack.com/apt/' + |
|
|
'pkgrepo': 'deb http://repo.saltstack.com/apt/' + |
|
|
salt['grains.get']('os_family')|lower + '/' + salt['grains.get']('osmajorrelease', osrelease) + '/armhf/' + salt_release + ' ' + salt['grains.get']('oscodename') + ' main', |
|
|
|
|
|
'key_url': 'https://repo.saltstack.com/apt/' + salt['grains.get']('os_family')|lower + '/' + salt['grains.get']('osmajorrelease', osrelease) + '/armhf/' + salt_release + '/SALTSTACK-GPG-KEY.pub', |
|
|
|
|
|
|
|
|
salt['grains.get']('os_family')|lower + '/' + salt['grains.get']('osmajorrelease', osrelease)|string + '/armhf/' + salt_release + ' ' + salt['grains.get']('oscodename') + ' main', |
|
|
|
|
|
'key_url': 'https://repo.saltstack.com/apt/' + salt['grains.get']('os_family')|lower + '/' + salt['grains.get']('osmajorrelease', osrelease)|string + '/armhf/' + salt_release + '/SALTSTACK-GPG-KEY.pub', |
|
|
}, |
|
|
}, |
|
|
'SmartOS': { |
|
|
'SmartOS': { |
|
|
'salt_master': 'salt', |
|
|
'salt_master': 'salt', |