mirror of
https://github.com/saltstack-formulas/salt-formula.git
synced 2024-11-30 23:55:23 +01:00
Use repo.saltstack.com in salt.pkgrepo for Debian-based distributions
repo.saltstack.com handles all currently supported Debian releases as well as all supported Ubuntu releases so this change should be fine. Part of #180.
This commit is contained in:
parent
a96f7093fb
commit
ee06702fca
@ -8,10 +8,12 @@
|
|||||||
Setup variable using grains['os_family'] based logic, only add key:values here
|
Setup variable using grains['os_family'] based logic, only add key:values here
|
||||||
that differ from whats in defaults.yaml
|
that differ from whats in defaults.yaml
|
||||||
##}
|
##}
|
||||||
|
{% set osrelease = salt['grains.get']('osrelease') %}
|
||||||
{% set os_family_map = salt['grains.filter_by']({
|
{% set os_family_map = salt['grains.filter_by']({
|
||||||
'Debian': {
|
'Debian': {
|
||||||
'pkgrepo': 'deb http://debian.saltstack.com/debian ' + salt['grains.get']('oscodename') + '-saltstack main',
|
'pkgrepo': 'deb http://repo.saltstack.com/apt/' +
|
||||||
'key_url': 'salt://salt/pkgrepo/debian/saltstack.gpg',
|
salt['grains.get']('os')|lower + '/' + salt['grains.get']('osmajorrelease', osrelease) + '/amd64/latest ' + salt['grains.get']('oscodename') + ' main',
|
||||||
|
'key_url': 'https://repo.saltstack.com/apt/' + salt['grains.get']('os')|lower + '/' + salt['grains.get']('osmajorrelease', osrelease) + '/amd64/latest/SALTSTACK-GPG-KEY.pub',
|
||||||
'libgit2': 'libgit2-22',
|
'libgit2': 'libgit2-22',
|
||||||
'gitfs': {
|
'gitfs': {
|
||||||
'pygit2': {
|
'pygit2': {
|
||||||
|
Loading…
Reference in New Issue
Block a user