changes to indentation

This commit is contained in:
Daniel Akulenok
2022-08-19 22:01:36 +02:00
parent f0cd205c20
commit 8e12a4388f
18 changed files with 30 additions and 29 deletions

View File

@@ -2,7 +2,7 @@
{% macro zones(zones) -%}
{% for zone in zones %}
zone "{{ zone.name }}" {
{% filter indent(2, true) %}
{% filter indent(bind9_config_indent, true) %}
# Zone {{ zone.name }} type {{ zone.type }}
{# Most critical/defining statements first #}
{{ ('type ' + zone.type | string+';\n') if zone.type is defined and zone.type -}}
@@ -24,7 +24,7 @@ zone "{{ zone.name }}" {
update-policy local;
{% else %}
update-policy {
{% filter indent(2, true) %}
{% filter indent(bind9_config_indent, true) %}
{% for policy in zone.update_policy %}
{{ policy.permission -}}
{{ ' ' + policy.identity -}}