Compare commits

..

2 Commits

Author SHA1 Message Date
68d93b1516
feat(keys): allow pillar based management
Introduce managed TSIG keys configuration using pillar data.

Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
2023-02-18 16:04:57 +01:00
64f51a69b5
feat(zones): allow custom options and files
- allow additional configuration options in zone blocks
- allow installation of zone files from other Salt file roots

Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
2023-02-17 21:42:29 +01:00
2 changed files with 2 additions and 1 deletions

View File

@ -11,7 +11,7 @@ zone:
zonefile: "{{ nsd.zones_dir }}/{{ zonefile_name(name, config) }}" zonefile: "{{ nsd.zones_dir }}/{{ zonefile_name(name, config) }}"
{%- for option in extraopts %} {%- for option in extraopts %}
{%- if option in config %} {%- if option in config %}
{{ option }}: {{ config[option] }} {{ option }}: "{{ config[option] }}"
{%- endif %} {%- endif %}
{%- endfor %} {%- endfor %}
{%- endfor %} {%- endfor %}

View File

@ -25,6 +25,7 @@
- file: nsd-config-file-file-managed - file: nsd-config-file-file-managed
- context: - context:
nsd: {{ nsd | json }} nsd: {{ nsd | json }}
- check_cmd: nsd-checkconf
- watch_in: - watch_in:
- service: nsd-service-running-service-running - service: nsd-service-running-service-running
{%- endmacro %} {%- endmacro %}