Demacro item.http
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
{% macro http(seq) %}
|
||||
{% for http in seq if seq is iterable %}
|
||||
{% for http in item.http if item.http is iterable %}
|
||||
http {{ http.name }} {
|
||||
{% filter indent(bind9_config_indent, true) %}
|
||||
{% if http.endpoints is defined and http.endpoints %}
|
||||
@@ -14,4 +13,3 @@ endpoints {
|
||||
{{ ('streams-per-connection ' + http.streams_per_connection | string + ';\n') if http.streams_per_connection is defined and http.streams_per_connection -}}
|
||||
{% endfilter %}};
|
||||
{% endfor %}
|
||||
{% endmacro %}
|
||||
Reference in New Issue
Block a user