fix(checkconf): only check main config
Included configurations in nsd.conf.d tend to depend on each other. For example when referring a TSIG key from 80-generates-keys in 90-generated-zones, running nsd-checkconf on these individual files would cause an error. It is sufficient and better to just check the main nsd.conf file, as it combines all included configurations in the check. Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
This commit is contained in:
parent
9bbffa5f1f
commit
5023b5e0a3
@ -25,7 +25,6 @@
|
|||||||
- 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 %}
|
||||||
|
Loading…
Reference in New Issue
Block a user