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',
|
2014-10-16 10:54:02 +00:00
|
|
|
'key_config': '/etc/bind/named.conf.key',
|
2014-01-03 15:57:10 -08:00
|
|
|
'options_config': '/etc/bind/named.conf.options',
|
2014-02-19 16:56:26 +02:00
|
|
|
'default_zones_config': '/etc/bind/named.conf.default-zones',
|
2014-01-03 15:57:10 -08:00
|
|
|
'named_directory': '/var/cache/bind/zones',
|
|
|
|
'user': 'root',
|
2014-03-01 14:54:41 -08:00
|
|
|
'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',
|
2014-03-01 14:54:41 -08:00
|
|
|
'group': 'named'
|
2013-09-03 15:51:19 -06:00
|
|
|
},
|
|
|
|
}, merge=salt['pillar.get']('bind:lookup')) %}
|