Allow inclusion of arbitrary options

This commit is contained in:
Skyler Berg 2014-11-20 10:31:11 -08:00
parent 1199b761a6
commit c019d1e946

View file

@ -17,5 +17,10 @@ options {
auth-nxdomain no; # conform to RFC1035
{% if salt['pillar.get']('bind:config:ipv6', 'False') %}
listen-on-v6 { {{ salt['pillar.get']('bind:config:ipv6_listen', 'any') }}; };
{% endif %}
{% endif -%}
{# Allow inclusion of arbitrary statements -#}
{% for statement, value in salt['pillar.get']('bind:config:options', {}).iteritems() -%}
{{ statement }} {{ value}}
{% endfor -%}
};