From e945fe2067dd2f3a256e6f931699a50ed2ad3171 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Thu, 8 Jun 2023 23:11:27 +0200 Subject: Config require keyfile. --- manifests/init.pp | 1 + 1 file changed, 1 insertion(+) (limited to 'manifests') diff --git a/manifests/init.pp b/manifests/init.pp index f051110..0910db5 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -120,6 +120,7 @@ class dns ( validate_cmd => "${checkconf} %", notify => Service[$servicename], warn => $warn, + require => File[$rndc_key_file], } concat::fragment { 'named.conf main configuration': -- cgit v1.2.3