demacro zone and view
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
{% macro view(views) %}
|
||||
{% for view in views if views is iterable %}
|
||||
{% for view in item.view if item.view is iterable %}
|
||||
view {{ view.name }} {
|
||||
{% filter indent(bind9_config_indent, true) %}
|
||||
{{ ('match-recursive-only ' + functions.named_boolean(view.match_recursive_only) + ';\n') if view.match_recursive_only is defined -}}
|
||||
@@ -75,4 +74,4 @@ view {{ view.name }} {
|
||||
{{ trust_anchors(view.trust_anchors) -}}
|
||||
{% endif %}
|
||||
{% endfilter %}
|
||||
};{% endfor %}{% endmacro %}
|
||||
};{% endfor %}
|
||||
|
||||
Reference in New Issue
Block a user