diff --git a/bind/files/redhat/named.conf.local b/bind/files/redhat/named.conf.local index 569e6d9..03a053d 100644 --- a/bind/files/redhat/named.conf.local +++ b/bind/files/redhat/named.conf.local @@ -7,8 +7,8 @@ //include "/etc/bind/zones.rfc1918"; {% for key,args in salt['pillar.get']('bind:configured_zones', {}).iteritems() -%} -{%- set file = salt['pillar.get']("available_zones:" + key + ":file") %} -{%- set masters = salt['pillar.get']("available_zones:" + key + ":masters") %} +{%- set file = salt['pillar.get']("bind:available_zones:" + key + ":file") %} +{%- set masters = salt['pillar.get']("bind:available_zones:" + key + ":masters") %} zone "{{ key }}" { type {{ args['type'] }}; file "data/{{ file }}";