2015-01-01 23:19:47 +01: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 11:28:49 +01:00
|
|
|
'Suse': {'pkg': 'sudo'},
|
2015-01-01 23:19:47 +01:00
|
|
|
'FreeBSD': {'pkg': 'sudo',
|
2014-10-14 08:15:30 +02:00
|
|
|
'config-path': '/usr/local/etc',
|
2016-03-09 21:03:56 +01:00
|
|
|
'exec-prefix': '/usr/local/sbin',
|
2015-01-01 23:14:56 +01:00
|
|
|
'group': 'wheel'},
|
|
|
|
}, merge=salt['pillar.get']('sudoers:lookup')) %}
|