From eebf6dae989fce4bfc7f65ac1fac3336d42d5aa9 Mon Sep 17 00:00:00 2001 From: pettai Date: Wed, 12 Jun 2024 16:45:10 +0200 Subject: [PATCH] yaf --- .../etc/puppet/modules/dns/manifests/knotdns.pp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/global/overlay/etc/puppet/modules/dns/manifests/knotdns.pp b/global/overlay/etc/puppet/modules/dns/manifests/knotdns.pp index 726b3c1..8f14143 100644 --- a/global/overlay/etc/puppet/modules/dns/manifests/knotdns.pp +++ b/global/overlay/etc/puppet/modules/dns/manifests/knotdns.pp @@ -33,6 +33,15 @@ class dns::knotdns( } file { '/etc/knot/conf.d': ensure => directory, + mode => '0750', + owner => 'root', + group => 'knot', + } + file { '/var/lib/knot/zones': + ensure => directory, + mode => '0750', + owner => 'knot', + group => 'knot', } # Install KnotREST configuration @@ -44,6 +53,7 @@ class dns::knotdns( ensure => directory, mode => '0750', owner => 'knot_rest', + group => 'knot_rest', } }