1
0
Fork 0
mirror of synced 2024-12-22 06:01:07 -05:00
formula-sudoers/sudoers/package-map.jinja

20 lines
602 B
Text
Raw Normal View History

2013-08-20 17:32:58 -04:00
{% set package_table = {
2014-10-02 03:29:40 -04:00
'Debian': {'sudo': 'sudo'},
'Ubuntu': {'sudo': 'sudo'},
'CentOS': {'sudo': 'sudo'},
'Fedora': {'sudo': 'sudo'},
'RedHat': {'sudo': 'sudo'},
'Amazon': {'sudo': 'sudo'},
'Gentoo': {'sudo': 'app-admin/sudo'},
'Mint': {'sudo': 'sudo'},
'FreeBSD': {'sudo': 'sudo',
'config-path': '/usr/local/etc',
'group': 'wheel'}
2013-08-20 17:32:58 -04:00
} %}
{% if 'package_table' in pillar %}
{% set pkgs = pillar['package_table'] %}
{% elif grains['os'] in package_table %}
{% set pkgs = package_table[grains['os']] %}
{% endif %}