De-macro controls

This commit is contained in:
Daniel Akulenok
2024-05-14 13:39:56 +02:00
parent ef28c98fc8
commit 7a834ae40c
2 changed files with 2 additions and 5 deletions

View File

@@ -1,7 +1,6 @@
{% macro controls(controls) %}
controls {
{% filter indent(bind9_config_indent, true) %}
{% for control in controls %}
{% for control in item.controls %}
{% if control.type == "inet" %}
{{ ('inet ' + control.address) -}}
{{ (' port ' + control.port | string) if control.port is defined and control.port -}}
@@ -16,4 +15,3 @@ controls {
{{ (' read-only ' + control.read_only | string) if control.read_only is defined -}};
{% endfor %}};
{% endfilter %}
{% endmacro %}