2013-09-03 15:51:19 -06:00
|
|
|
{% set map = salt['grains.filter_by']({
|
|
|
|
'Debian': {
|
|
|
|
'pkgs': ['bind9', 'bind9utils'],
|
2014-01-03 15:57:10 -08:00
|
|
|
'service': 'bind9',
|
|
|
|
'config': '/etc/bind/named.conf',
|
|
|
|
'local_config': '/etc/bind/named.conf.local',
|
|
|
|
'options_config': '/etc/bind/named.conf.options',
|
|
|
|
'default_zones_config': '/etc/bind/named.conf.default_zones',
|
|
|
|
'named_directory': '/var/cache/bind/zones',
|
|
|
|
'user': 'root',
|
|
|
|
'group': 'bind',
|
2013-09-03 15:51:19 -06:00
|
|
|
},
|
|
|
|
'RedHat': {
|
|
|
|
'pkgs': ['bind'],
|
|
|
|
'service': 'named',
|
|
|
|
'config': '/etc/named.conf',
|
2014-01-03 15:57:10 -08:00
|
|
|
'local_config': '/etc/named.conf.local',
|
|
|
|
'named_directory': '/var/named/data',
|
|
|
|
'user': 'root',
|
|
|
|
'group': 'named',
|
2013-09-03 15:51:19 -06:00
|
|
|
},
|
|
|
|
}, merge=salt['pillar.get']('bind:lookup')) %}
|