mirror of
https://github.com/saltstack-formulas/sudoers-formula.git
synced 2026-10-02 18:48:58 +02:00
Added archlinux support and improved lookup table
This commit is contained in:
1 parent
78b8323716
commit
c2265a81f6
2 files changed
+12
-11
No files matched your search
+11
-10
@@ -1,13 +1,14 @@
|
||||
{% set sudoers = salt['grains.filter_by'])({
|
||||
'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',
|
||||
{% 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'},
|
||||
'FreeBSD': {'pkg': 'sudo',
|
||||
'config-path': '/usr/local/etc',
|
||||
'group': 'wheel'},
|
||||
}, merge=salt['pillar.get']('sudoers:lookup')) %}
|
||||
Reference in new issue
Block a user