File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 3
3
# For backwards compatibility. Use the main bind class instead.
4
4
#
5
5
class bind::server (
6
- $chroot = false ,
7
- $packagenameprefix = $::bind::params::packagenameprefix,
6
+ $chroot = false ,
7
+ $packagenameprefix = $::bind::params::packagenameprefix,
8
+ $named_checkzone_path = ' /usr/sbin/named-checkzone' ,
8
9
) inherits ::bind::params {
9
-
10
- class { ':: bind':
10
+ include bind
11
+ Class[ ' bind' ] {
11
12
chroot => $chroot ,
12
13
packagenameprefix => $packagenameprefix ,
13
14
}
14
-
15
15
}
Original file line number Diff line number Diff line change 45
45
) {
46
46
47
47
include '::bind::params'
48
+ include 'bind::server'
48
49
49
50
if $group {
50
51
$bindgroup = $group
78
79
source => $zone_source ,
79
80
content => $content ,
80
81
replace => $replace ,
81
- validate_cmd => " /usr/sbin/named-checkzone -k fail -m fail -M fail -n fail -r fail -S fail -T warn -W warn ${zonename} %" ,
82
+ validate_cmd => " ${bind::server::named_checkzone_path} -k fail -m fail -M fail -n fail -r fail -S fail -T warn -W warn ${zonename} %" ,
82
83
notify => Class[' ::bind::service' ],
83
84
# For the parent directory
84
85
require => [
You can’t perform that action at this time.
0 commit comments