tls demacro
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
{% macro tls(tlss) %}
|
||||
{% for tls in tlss if tlss is iterable %}
|
||||
{% for tls in item.tls if item.tls is iterable %}
|
||||
tls {{ tls.name }} {
|
||||
{% filter indent(bind9_config_indent, true) %}
|
||||
{{ ('cert-file "' + tls.cert_file + '";\n') if tls.cert_file is defined and tls.cert_file -}}
|
||||
@@ -13,4 +12,3 @@ tls {{ tls.name }} {
|
||||
{{ (functions.boolean_option('session-tickets', tls.session_tickets) + '\n') if tls.session_tickets is defined -}}
|
||||
{% endfilter %}};
|
||||
{% endfor %}
|
||||
{% endmacro %}
|
||||
Reference in New Issue
Block a user