From fcb09714f3d6d25ec9d74d60d306442edf03c49e Mon Sep 17 00:00:00 2001 From: Astro Date: Sat, 23 Jun 2018 02:28:06 +0200 Subject: [PATCH] unbound/local-zones.conf: fix the python --- salt/unbound/local-zones.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/unbound/local-zones.conf b/salt/unbound/local-zones.conf index 9cb3d44..4febd06 100644 --- a/salt/unbound/local-zones.conf +++ b/salt/unbound/local-zones.conf @@ -4,7 +4,7 @@ server: {%- endfor %} forward-zone: -{%- for ctx, domain in pillar['bind']['root-domain'] %} +{%- for ctx, domain in pillar['bind']['root-domain'].items() %} name: "{{ domain }}" forward-addr: {{ pillar['hosts-inet']['serv']['dns'] }} forward-addr: {{ pillar['hosts-inet6'][ctx]['serv']['dns'] }}