add fixes
This commit is contained in:
parent
adac2dfd11
commit
6a8f7dbe58
1 changed files with 8 additions and 0 deletions
|
@ -21,16 +21,24 @@ class dns::knotdns(
|
|||
command => "apt install -fy knot knot-host knot-dnsutils libknot14 python3-knot-rest=$knotrestversion && touch $control_file",
|
||||
unless => "test -f $control_file",
|
||||
}
|
||||
exec {"correct elasticsearch docker image mount rights":
|
||||
command => "usermod -a -G knot knot_rest",
|
||||
unless => "test -f $control_file",
|
||||
}
|
||||
|
||||
# Install KnotDNS configuration
|
||||
file { "/etc/knot/knot.conf":
|
||||
ensure => "file",
|
||||
content => template("dns/knot/knot.conf.erb")
|
||||
}
|
||||
file { '/etc/knot/conf.d':
|
||||
ensure => directory,
|
||||
}
|
||||
|
||||
# Install KnotREST configuration
|
||||
file { "/etc/knot_rest/knot_rest.yaml":
|
||||
ensure => "file",
|
||||
content => template("dns/knot/knot_rest.yaml.erb")
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue