Inclusion of additional configuration files added (Debian based only).

This commit is contained in:
Uwe Kretschmer 2016-03-29 13:37:14 +02:00
parent 1a893bc196
commit 2928041651
2 changed files with 7 additions and 0 deletions

View file

@ -14,4 +14,7 @@ include "{{ map.key_config }}";
{%- if salt['pillar.get']('bind:config:default_zones', False) %}
include "{{ map.default_zones_config }}";
{% endif %}
{%- for incl in salt['pillar.get']('bind:config:includes', []) %}
include "{{ incl }}";
{% endfor %}

View file

@ -19,6 +19,10 @@ bind:
# For Debian based systems:
# If set to True, the default-zones configuration will be enabled. Defaults to False.
default_zones: True
# For Debian based systems:
# Include any additional configuration file(s) in named.conf
includes:
- /some/additional/named.conf
bind:
keys: