12 lines
452 B
Plaintext
12 lines
452 B
Plaintext
|
{%- from "nsd/macros.jinja" import zonefile_name with context -%}
|
||
|
########################################################################
|
||
|
# File managed by Salt at <{{ source }}>.
|
||
|
# Your changes will be overwritten.
|
||
|
########################################################################
|
||
|
|
||
|
{%- for name, config in nsd.get('zones').items() %}
|
||
|
zone:
|
||
|
name: "{{ name }}"
|
||
|
zonefile: "{{ nsd.zones_dir }}/{{ zonefile_name(name, config) }}"
|
||
|
{%- endfor %}
|