From 5023b5e0a3a0319d4448edfec5788294c3ebbeeb Mon Sep 17 00:00:00 2001 From: Georg Pfuetzenreuter Date: Sat, 18 Feb 2023 16:12:58 +0100 Subject: [PATCH] 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 --- nsd/macros.jinja | 1 - 1 file changed, 1 deletion(-) diff --git a/nsd/macros.jinja b/nsd/macros.jinja index 09f4c22..8d4174f 100644 --- a/nsd/macros.jinja +++ b/nsd/macros.jinja @@ -25,7 +25,6 @@ - file: nsd-config-file-file-managed - context: nsd: {{ nsd | json }} - - check_cmd: nsd-checkconf - watch_in: - service: nsd-service-running-service-running {%- endmacro %}