exec -> package for knot

This commit is contained in:
pettai 2024-06-12 22:00:12 +02:00
parent 7c7ed0c7c0
commit fe6e9e5a30
No known key found for this signature in database
GPG key ID: CDF2C381E9A751BD

View file

@ -23,8 +23,12 @@ class dns::knotdns(
} }
# Install the package stuff # Install the package stuff
exec {"Install KnotDNS + KnotREST": package { ['knot', 'knot-host', 'knot-dnsutils', 'libknot14']:
command => "apt install -fy knot knot-host knot-dnsutils libknot14 python3-knot-rest=$knotrestversion && touch $control_file", ensure => installed,
}
exec {"Install KnotREST":
command => "apt install -fy python3-knot-rest=$knotrestversion && touch $control_file",
unless => "test -f $control_file", unless => "test -f $control_file",
} }
exec {"Let user knot_rest use knot's socket": exec {"Let user knot_rest use knot's socket":