Need unique name for the rndc reload exec

This commit is contained in:
Tom Ford 2016-07-08 14:32:00 +01:00 committed by GitHub
parent 40531e21eb
commit 84782740dd

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,