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

@@ -1,13 +1,13 @@
{% macro logging(logging) %}
logging {
{% filter indent(2, true) %}
{% filter indent(bind9_config_indent, true) %}
{% for category in logging.categories if logging.categories is defined and logging.categories %}
category {{ category.name }} {
{{ functions.simple_item_list(category.channels) }}};
{% endfor %}
{% for channel in logging.channels if logging.channels is defined and logging.channels %}
channel {{ channel.name }} {
{% filter indent(2, true) %}
{% filter indent(bind9_config_indent, true) %}
{% if channel.file is defined and channel.file %}
file "{{ channel.file.name }}"
{{- (' versions ' + channel.file.versions | string) if channel.file.versions is defined and channel.file.versions -}}