commit
84c06223fd
@ -114,7 +114,7 @@ define bind::zone (
|
|||||||
}
|
}
|
||||||
|
|
||||||
if $zone_file_mode == 'managed' {
|
if $zone_file_mode == 'managed' {
|
||||||
exec { "rndc reload ${_domain}":
|
exec { "rndc reload ${name}":
|
||||||
command => "/usr/local/bin/rndc-helper reload ${name}",
|
command => "/usr/local/bin/rndc-helper reload ${name}",
|
||||||
user => $bind_user,
|
user => $bind_user,
|
||||||
refreshonly => true,
|
refreshonly => true,
|
||||||
|
|||||||
@ -14,6 +14,6 @@ param_lookup "${zone_name}" | while read Z; do
|
|||||||
if [ $# == 1 ]; then
|
if [ $# == 1 ]; then
|
||||||
echo $Z
|
echo $Z
|
||||||
else
|
else
|
||||||
sudo rndc "${@:1:$(($# - 1))}" $Z
|
/usr/sbin/rndc "${@:1:$(($# - 1))}" $Z
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user