summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2023-06-08 23:11:27 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2023-06-08 23:11:27 +0200
commite945fe2067dd2f3a256e6f931699a50ed2ad3171 (patch)
treeab091a14e0826c1a9311152e8e7bfe83f017b7fe
parentActually load rndc key file. (diff)
downloaddns-e945fe2067dd2f3a256e6f931699a50ed2ad3171.tar.gz
dns-e945fe2067dd2f3a256e6f931699a50ed2ad3171.tar.xz
Config require keyfile.
-rw-r--r--manifests/init.pp1
1 files changed, 1 insertions, 0 deletions
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':