commit | e24eff27a052d0e0ccc0fb6ea4070df07868cc07 | [log] [tgz] |
---|---|---|
author | Filip Pytloun <filip@pytloun.cz> | Thu Oct 06 12:24:30 2016 +0200 |
committer | Filip Pytloun <filip@pytloun.cz> | Thu Oct 06 12:24:30 2016 +0200 |
tree | e5a3c9bee6f577ae5512befc4496841a68bffae1 | |
parent | 57435b286169086fabd8b70813555b89431c5099 [diff] |
Fix keys attribute
diff --git a/bind/files/named.conf.local b/bind/files/named.conf.local index 730324e..ed9a238 100644 --- a/bind/files/named.conf.local +++ b/bind/files/named.conf.local
@@ -29,9 +29,9 @@ {%- for serverip, server in server.get('server', {}).iteritems() %} server {{ serverip }} { - {%- if server.keys is defined %} + {%- if server.get('keys', None) %} keys { - {%- for key in server.keys %} + {%- for key in server.get('keys') %} {{ key }}; {%- endfor %} };