From facb8e1f39b5c767c166be048c74ddd20f2fafa6 Mon Sep 17 00:00:00 2001 From: Nick Date: Wed, 3 Jun 2015 15:53:51 +1000 Subject: [PATCH] pillar.get wasn't finding the available_zones key --- bind/files/redhat/named.conf.local | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 }}";