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