diff --git a/templates/config.j2 b/templates/config.j2 index 85fe44d..e549ff2 100644 --- a/templates/config.j2 +++ b/templates/config.j2 @@ -15,14 +15,14 @@ server: {% if nsd_server_config is defined %} # Common configuration -{% for key, value in nsd_server_config.iteritems() -%} +{% for key, value in nsd_server_config.items() -%} {{ expand_list(key, value) }} {%- endfor %} {% endif %} {% if nsd_local_server_config is defined %} # Local configuration -{% for key, value in nsd_local_server_config.iteritems() -%} +{% for key, value in nsd_local_server_config.items() -%} {{ expand_list(key, value) }} {%- endfor %} {% endif %}