summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2023-06-08 23:07:56 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2023-06-08 23:07:56 +0200
commit84fe55570f488406f91e9db64c732f63c7f3237f (patch)
treefa395ac45de25e8ffe695003e250aba2f225a3fc
parent. (diff)
downloaddns-84fe55570f488406f91e9db64c732f63c7f3237f.tar.gz
dns-84fe55570f488406f91e9db64c732f63c7f3237f.tar.xz
Actually load rndc key file.
-rw-r--r--manifests/init.pp5
1 files changed, 5 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index d80cea3..f051110 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -104,6 +104,11 @@ class dns (
ensure => file,
}
+ concat::fragment { 'named.conf rndc keyfile':
+ target => $config_file,
+ content => "include \"${rndc_key_file}\";\n",
+ }
+
$warn = @(EOF)
#
# File managed by Puppet. Local changes WILL be overwritter',