12 lines
452 B
Django/Jinja
12 lines
452 B
Django/Jinja
{%- 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 %}
|