don't (re)install unless ...
This commit is contained in:
parent
8799d758ca
commit
a8d4d352fd
|
@ -19,6 +19,7 @@ class dns::knotdns(
|
|||
# Install the package stuff
|
||||
exec {"Install KnotDNS + KnotREST":
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue