restruct
This commit is contained in:
parent
c879b4566b
commit
cc36ec8957
1 changed files with 7 additions and 8 deletions
|
@ -39,14 +39,6 @@ class dns::knotdns(
|
||||||
enable => true,
|
enable => true,
|
||||||
}
|
}
|
||||||
|
|
||||||
file { '/etc/knot/conf.d/*.conf',
|
|
||||||
ensure => file,
|
|
||||||
owner => 'knot',
|
|
||||||
group => 'knot',
|
|
||||||
refreshonly => true,
|
|
||||||
notify => Service['knot'],
|
|
||||||
}
|
|
||||||
|
|
||||||
exec {"Install KnotREST":
|
exec {"Install KnotREST":
|
||||||
command => "apt install -fy python3-knot-rest=$knotrestversion && touch $control_file",
|
command => "apt install -fy python3-knot-rest=$knotrestversion && touch $control_file",
|
||||||
unless => "test -f $control_file",
|
unless => "test -f $control_file",
|
||||||
|
@ -73,6 +65,13 @@ class dns::knotdns(
|
||||||
owner => 'knot',
|
owner => 'knot',
|
||||||
group => 'knot',
|
group => 'knot',
|
||||||
}
|
}
|
||||||
|
file { '/etc/knot/conf.d/*.conf',
|
||||||
|
ensure => file,
|
||||||
|
owner => 'knot',
|
||||||
|
group => 'knot',
|
||||||
|
refreshonly => true,
|
||||||
|
notify => Service['knot'],
|
||||||
|
}
|
||||||
|
|
||||||
# Install KnotREST configuration
|
# Install KnotREST configuration
|
||||||
if $knot_rest_token_secret {
|
if $knot_rest_token_secret {
|
||||||
|
|
Loading…
Add table
Reference in a new issue