blob: 7411982b29d1ef3d34cf2cc6f62bb27fee86fbf5 [file] [log] [blame]
Ales Komarek882ac7b2014-07-14 10:47:56 +02001{% set server = salt['grains.filter_by']({
2 'Debian': {
3 'pkgs': ['bind9', 'bind9utils'],
4 'service': 'bind9',
5 'config': '/etc/bind/named.conf',
6 'local_config': '/etc/bind/named.conf.local',
7 'options_config': '/etc/bind/named.conf.options',
8 'default_zones_config': '/etc/bind/named.conf.default-zones',
9 'named_directory': '/var/cache/bind/zones',
10 'user': 'root',
11 'group': 'bind'
12 },
13 'RedHat': {
14 'pkgs': ['bind'],
15 'service': 'named',
16 'config': '/etc/named.conf',
17 'local_config': '/etc/named.conf.local',
18 'named_directory': '/var/named/data',
19 'user': 'root',
20 'group': 'named'
21 },
22}, merge=salt['pillar.get']('bind:server')) %}