Fix syntax

This commit is contained in:
Nate Riffe 2012-09-04 12:27:54 -05:00
parent 7b53c4c29d
commit 64f37c1cdf

View File

@ -5,11 +5,11 @@ define bind::zone (
$allow_updates = [], $allow_updates = [],
$allow_transfers = [], $allow_transfers = [],
) { ) {
if $domain == '' if $domain == '' {
$_domain = $name $_domain = $name
else } else {
$_domain = $domain $_domain = $domain
fi }
$file = "${bind::confdir}/zones/${name}.zone" $file = "${bind::confdir}/zones/${name}.zone"