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

17 lines
587 B
Plaintext
Raw Normal View History

{% set sudoers = salt['grains.filter_by']({
'Debian': {'pkg': 'sudo'},
'Ubuntu': {'pkg': 'sudo'},
'CentOS': {'pkg': 'sudo'},
'Fedora': {'pkg': 'sudo'},
'RedHat': {'pkg': 'sudo'},
'Amazon': {'pkg': 'sudo'},
'Gentoo': {'pkg': 'app-admin/sudo'},
'Mint': {'pkg': 'sudo'},
'Arch': {'pkg': 'sudo'},
2015-03-07 11:28:49 +01:00
'Suse': {'pkg': 'sudo'},
'FreeBSD': {'pkg': 'sudo',
'configpath': '/usr/local/etc',
'execprefix': '/usr/local/sbin',
2015-01-01 23:14:56 +01:00
'group': 'wheel'},
}, merge=salt['pillar.get']('sudoers:lookup')) %}