don't (re)install unless ...

This commit is contained in:
pettai 2024-06-12 15:20:55 +02:00
parent 8799d758ca
commit a8d4d352fd
No known key found for this signature in database
GPG key ID: CDF2C381E9A751BD

View file

@ -19,6 +19,7 @@ class dns::knotdns(
# Install the package stuff # Install the package stuff
exec {"Install KnotDNS + KnotREST": exec {"Install KnotDNS + KnotREST":
command => "apt install -fy knot knot-host knot-dnsutils libknot14 python3-knot-rest=$knotrestversion && touch $control_file", command => "apt install -fy knot knot-host knot-dnsutils libknot14 python3-knot-rest=$knotrestversion && touch $control_file",
unless => "test -f $control_file",
} }
# Install KnotDNS configuration # Install KnotDNS configuration