mirror of
https://github.com/saltstack-formulas/sudoers-formula.git
synced 2026-10-07 09:57:13 +02:00
updated pillar lookup with map.jinja
This commit is contained in:
1 parent
0a1fab9f8a
commit
78b8323716
3 files changed
+10
-16
No files matched your search
@@ -0,0 +1,13 @@
|
||||
{% 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',
|
||||
'config-path': '/usr/local/etc',
|
||||
'group': 'wheel'},
|
||||
}, merge=salt['pillar.get']('sudoers:lookup')) %}
|
||||
Reference in new issue
Block a user