0
0
mirror of https://github.com/saltstack-formulas/salt-formula.git synced 2024-12-11 08:04:26 +01:00
salt-formula/salt/package-map.jinja

59 lines
2.4 KiB
Plaintext
Raw Normal View History

{% set package_table = {
2014-10-02 08:54:30 +02:00
'Debian': {'salt-master': 'salt-master',
'salt-minion': 'salt-minion',
'salt-syndic': 'salt-syndic',
'salt-cloud': 'salt-cloud',
'salt-ssh': 'salt-ssh'},
2014-10-02 08:54:30 +02:00
'Ubuntu': {'salt-master': 'salt-master',
'salt-minion': 'salt-minion',
'salt-syndic': 'salt-syndic',
'salt-cloud': 'salt-cloud',
'salt-ssh': 'salt-ssh'},
2014-10-02 08:54:30 +02:00
'CentOS': {'salt-master': 'salt-master',
'salt-minion': 'salt-minion',
'salt-syndic': 'salt-syndic',
2014-10-28 17:50:23 +01:00
'salt-cloud': 'salt-cloud',
'salt-ssh': 'salt-ssh'},
2014-10-02 08:54:30 +02:00
'Amazon': {'salt-master': 'salt-master',
'salt-minion': 'salt-minion',
'salt-syndic': 'salt-syndic',
2014-10-28 17:50:23 +01:00
'salt-cloud': 'salt-cloud',
'salt-ssh': 'salt-ssh'},
2014-10-02 08:54:30 +02:00
'Fedora': {'salt-master': 'salt-master',
'salt-minion': 'salt-minion',
'salt-syndic': 'salt-syndic',
2014-10-28 17:50:23 +01:00
'salt-cloud': 'salt-cloud',
'salt-ssh': 'salt-ssh'},
2014-10-02 08:54:30 +02:00
'RedHat': {'salt-master': 'salt-master',
'salt-minion': 'salt-minion',
'salt-syndic': 'salt-syndic',
2014-10-28 17:50:23 +01:00
'salt-cloud': 'salt-cloud',
'salt-ssh': 'salt-ssh'},
2014-10-02 08:54:30 +02:00
'Gentoo': {'salt-master': 'app-admin/salt',
'salt-minion': 'app-admin/salt',
'salt-syndic': 'app-admin/salt',
'salt-cloud': 'app-admin/salt'},
'Arch': {'salt-master': 'salt',
'salt-minion': 'salt',
'salt-syndic': 'salt',
'salt-cloud': 'salt'},
2014-12-08 21:13:29 +01:00
'openSUSE':{'salt-master': 'salt-master',
'salt-minion': 'salt-minion',
'salt-syndic': 'salt-syndic',
'salt-cloud': 'salt-cloud'},
2014-10-02 08:54:30 +02:00
'FreeBSD': {'salt-master': 'py27-salt',
'salt-minion': 'py27-salt',
'salt-syndic': 'py27-salt',
2014-10-02 09:20:29 +02:00
'salt-cloud': 'py27-salt',
'config-path': '/usr/local/etc/salt',
'minion-service': 'salt_minion',
'master-service': 'salt_master',
'syndic-service': 'salt_syndic'}
} %}
{% if 'package_table' in pillar %}
{% set pkgs = pillar['package_table'] %}
{% elif grains['os'] in package_table %}
{% set pkgs = package_table[grains['os']] %}
{% endif %}