Skip to content

Commit

Permalink
fix(map.jinja+tests): add correct keyring for the OS
Browse files Browse the repository at this point in the history
* Use the correct keyring for the OS (a refactor of the changes suggested in saltstack-formulas#41)
  • Loading branch information
javierbertoli committed May 27, 2019
1 parent 7d40f33 commit 1075b27
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion apt/map.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -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'))) %}

0 comments on commit 1075b27

Please sign in to comment.