mirror of
https://github.com/saltstack-formulas/bind-formula.git
synced 2025-04-15 17:20:21 +00:00
Merge pull request #21 from davidkarlsen/master
should use the signed file in named.config.local if dnssec
This commit is contained in:
commit
df5305a1fc
1 changed files with 4 additions and 0 deletions
|
@ -12,7 +12,11 @@
|
|||
{%- set masters = salt['pillar.get']("available_zones:" + key + ":masters") %}
|
||||
zone "{{ key }}" {
|
||||
type {{ args['type'] }};
|
||||
{% if args['dnssec'] is defined and args['dnssec'] -%}
|
||||
file "zones/{{ file }}.signed";
|
||||
{% else -%}
|
||||
file "zones/{{ file }}";
|
||||
{%- endif %}
|
||||
{% if args['allow-update'] is defined -%}
|
||||
allow-update { {{args['allow-update']}}; };
|
||||
{%- endif %}
|
||||
|
|
Loading…
Add table
Reference in a new issue