Merge pull request #98 from exptom/patch-1

Fixes for rndc-helper
This commit is contained in:
Nate Riffe
2016-07-08 18:53:25 -05:00
committed by GitHub
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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,
+1 -1
View File
@@ -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