0
0
mirror of https://github.com/saltstack-formulas/salt-formula.git synced 2024-12-01 02:05:33 +01:00
salt-formula/salt/package-map.jinja

21 lines
764 B
Plaintext
Raw Normal View History

{% set package_table = {
'Debian': {'salt-master': 'salt-master',
'salt-minion': 'salt-minion'},
2013-08-14 23:16:50 +02:00
'Ubuntu': {'salt-master': 'salt-master',
2013-08-14 23:21:15 +02:00
'salt-minion': 'salt-minion'},
2013-08-14 23:16:50 +02:00
'CentOS': {'salt-master': 'salt-master',
2013-08-14 23:21:15 +02:00
'salt-minion': 'salt-minion'},
2013-08-14 23:16:50 +02:00
'Fedora': {'salt-master': 'salt-master',
2013-08-14 23:21:15 +02:00
'salt-minion': 'salt-minion'},
'RedHat': {'salt-master': 'salt-master',
2013-08-15 17:15:47 +02:00
'salt-minion': 'salt-minion'},
2013-08-15 17:16:54 +02:00
'Gentoo': {'salt-master': 'app-admin/salt',
2013-08-15 17:15:47 +02:00
'salt-minion': 'app-admin/salt'}
} %}
{% if 'package_table' in pillar %}
{% set pkgs = pillar['package_table'] %}
{% elif grains['os'] in package_table %}
{% set pkgs = package_table[grains['os']] %}
{% endif %}