Require rndc config generation before checkconf and remove unneccessary subscribe to named.conf.
This commit is contained in:
parent
3edd0c4f39
commit
42ebc910cc
1 changed files with 1 additions and 2 deletions
|
@ -113,7 +113,7 @@ class dns::server {
|
||||||
default => "/usr/sbin/named-checkconf -z -t ${chroot}"
|
default => "/usr/sbin/named-checkconf -z -t ${chroot}"
|
||||||
},
|
},
|
||||||
refreshonly => true,
|
refreshonly => true,
|
||||||
subscribe => File["named.conf"],
|
require => Exec["rndc-confgen"],
|
||||||
notify => Service["named"],
|
notify => Service["named"],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -133,7 +133,6 @@ class dns::server {
|
||||||
"openbsd" => "/usr/sbin/named",
|
"openbsd" => "/usr/sbin/named",
|
||||||
default => undef,
|
default => undef,
|
||||||
},
|
},
|
||||||
require => Exec["rndc-confgen"],
|
|
||||||
}
|
}
|
||||||
|
|
||||||
file { "named.conf":
|
file { "named.conf":
|
||||||
|
|
Loading…
Add table
Reference in a new issue