Browse Source

fix(map.jinja+tests): add correct keyring for the OS

* Use the correct keyring for the OS (a refactor of the changes suggested in #41)
tags/v0.8.1
Javier Bértoli 5 years ago
parent
commit
0ff48e1021
1 changed files with 9 additions and 1 deletions
  1. +9
    -1
      apt/map.jinja

+ 9
- 1
apt/map.jinja View File

@@ -35,4 +35,12 @@
},
},
},
}, merge=salt['pillar.get']('apt:lookup'), default='Debian') %}
}, merge=salt['grains.filter_by']({
}, grain='oscodename', merge=salt['grains.filter_by']({
'Ubuntu': {
'keyring_package': 'ubuntu-keyring'
},
'Mint': {
'keyring_package': 'linuxmint-keyring'
},
}, merge=salt['pillar.get']('apt:lookup'), default='Debian'))) %}

Loading…
Cancel
Save