From 6a8f7dbe58a80211b4d3f1063ccd6453eb9690f8 Mon Sep 17 00:00:00 2001 From: pettai Date: Wed, 12 Jun 2024 16:25:26 +0200 Subject: [PATCH] add fixes --- .../overlay/etc/puppet/modules/dns/manifests/knotdns.pp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/global/overlay/etc/puppet/modules/dns/manifests/knotdns.pp b/global/overlay/etc/puppet/modules/dns/manifests/knotdns.pp index fae52cb..e4788b9 100644 --- a/global/overlay/etc/puppet/modules/dns/manifests/knotdns.pp +++ b/global/overlay/etc/puppet/modules/dns/manifests/knotdns.pp @@ -21,16 +21,24 @@ class dns::knotdns( command => "apt install -fy knot knot-host knot-dnsutils libknot14 python3-knot-rest=$knotrestversion && touch $control_file", unless => "test -f $control_file", } + exec {"correct elasticsearch docker image mount rights": + command => "usermod -a -G knot knot_rest", + unless => "test -f $control_file", + } # Install KnotDNS configuration file { "/etc/knot/knot.conf": ensure => "file", content => template("dns/knot/knot.conf.erb") } + file { '/etc/knot/conf.d': + ensure => directory, + } # Install KnotREST configuration file { "/etc/knot_rest/knot_rest.yaml": ensure => "file", content => template("dns/knot/knot_rest.yaml.erb") } + }