diff --git a/global/overlay/etc/puppet/modules/dns/manifests/knotdns.pp b/global/overlay/etc/puppet/modules/dns/manifests/knotdns.pp index b5e1998..fe9505d 100644 --- a/global/overlay/etc/puppet/modules/dns/manifests/knotdns.pp +++ b/global/overlay/etc/puppet/modules/dns/manifests/knotdns.pp @@ -34,6 +34,19 @@ class dns::knotdns( ensure => installed, } + service { 'knot': + ensure => running, + enable => true, + } + + file { '/etc/knot/conf.d/*.conf', + ensure => file, + owner => 'knot', + group => 'knot', + refreshonly => true, + notify => Service['knot'], + } + exec {"Install KnotREST": command => "apt install -fy python3-knot-rest=$knotrestversion && touch $control_file", unless => "test -f $control_file",