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,7 +1,7 @@
{% macro tls(tlss) %}
{% for tls in tlss if tlss is iterable %}
tls {{ tls.name }} {
{% filter indent(2, true) %}
{% filter indent(bind9_config_indent, true) %}
{{ ('cert-file "' + tls.cert_file + '";\n') if tls.cert_file is defined and tls.cert_file -}}
{{ ('key-file "' + tls.key_file + '";\n') if tls.key_file is defined and tls.key_file -}}
{{ ('dhparam-file "' + tls.dhparam_file + '";\n') if tls.dhparam_file is defined and tls.dhparam_file -}}