Skip to content

Commit 0ff48e1

Browse files
committed
fix(map.jinja+tests): add correct keyring for the OS
* Use the correct keyring for the OS (a refactor of the changes suggested in saltstack-formulas#41)
1 parent 3fa2a58 commit 0ff48e1

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

apt/map.jinja

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,12 @@
3535
},
3636
},
3737
},
38-
}, merge=salt['pillar.get']('apt:lookup'), default='Debian') %}
38+
}, merge=salt['grains.filter_by']({
39+
}, grain='oscodename', merge=salt['grains.filter_by']({
40+
'Ubuntu': {
41+
'keyring_package': 'ubuntu-keyring'
42+
},
43+
'Mint': {
44+
'keyring_package': 'linuxmint-keyring'
45+
},
46+
}, merge=salt['pillar.get']('apt:lookup'), default='Debian'))) %}

0 commit comments

Comments
 (0)