NSD: Allow global or local configuration to be missing
This commit is contained in:
parent
6538ccda29
commit
a5d94f234a
@ -2,6 +2,7 @@
|
||||
# Do not edit by hand!
|
||||
|
||||
server:
|
||||
{% if nsd_common_config is defined %}
|
||||
# Common configuration
|
||||
{% for key, value in nsd_common_config.iteritems() %}
|
||||
{% if value is string or value is number %}
|
||||
@ -12,7 +13,9 @@ server:
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
{% if nsd_local_config is defined %}
|
||||
# Local configuration
|
||||
{% for key, value in nsd_local_config.iteritems() %}
|
||||
{% if value is string or value is number %}
|
||||
@ -23,6 +26,7 @@ server:
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
|
||||
# Include zone definitions
|
||||
|
Loading…
Reference in New Issue
Block a user