updated pillar lookup with map.jinja

This commit is contained in:
Niels Abspoel committed 2015-01-01 23:14:56 +01:00
1 parent 0a1fab9f8a
commit 78b8323716
3 files changed
+10 -16

No files matched your search

+13
View File
@@ -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')) %}