Fixed map.jinja

This commit is contained in:
Gregory Ballantine 2017-05-23 15:24:18 -04:00
parent 753527955b
commit eb12313fec

View File

@ -10,9 +10,15 @@ that differ from whats in defaults.yaml
##} ##}
{% set flavor_map = salt['grains.filter_by']( {% set flavor_map = salt['grains.filter_by'](
{ {
'Debian': {
'config_path': '/etc/nsswitch.conf',
},
'FreeBSD': { 'FreeBSD': {
'config_path': '/etc/nsswitch.conf', 'config_path': '/etc/nsswitch.conf',
}, },
'RedHat': {
'config_path': '/etc/nsswitch.conf',
}
}, },
grain='os_family', grain='os_family',
merge=salt['pillar.get']('nsswitch:lookup') merge=salt['pillar.get']('nsswitch:lookup')