2015-01-01 17:19:47 -05:00
|
|
|
{% 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 05:28:49 -05:00
|
|
|
'Suse': {'pkg': 'sudo'},
|
2015-01-01 17:19:47 -05:00
|
|
|
'FreeBSD': {'pkg': 'sudo',
|
2017-08-16 08:32:42 -04:00
|
|
|
'configpath': '/usr/local/etc',
|
2018-02-04 14:04:11 -05:00
|
|
|
'includedir': '/usr/local/etc/sudoers.d',
|
2017-08-16 08:32:42 -04:00
|
|
|
'execprefix': '/usr/local/sbin',
|
2015-01-01 17:14:56 -05:00
|
|
|
'group': 'wheel'},
|
|
|
|
}, merge=salt['pillar.get']('sudoers:lookup')) %}
|