exec -> package for knot
This commit is contained in:
parent
7c7ed0c7c0
commit
fe6e9e5a30
|
@ -23,8 +23,12 @@ 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",
|
||||
package { ['knot', 'knot-host', 'knot-dnsutils', 'libknot14']:
|
||||
ensure => installed,
|
||||
}
|
||||
|
||||
exec {"Install KnotREST":
|
||||
command => "apt install -fy python3-knot-rest=$knotrestversion && touch $control_file",
|
||||
unless => "test -f $control_file",
|
||||
}
|
||||
exec {"Let user knot_rest use knot's socket":
|
||||
|
|
Loading…
Reference in a new issue