Fix syntax

This commit is contained in:
Nate Riffe
2012-09-04 12:27:54 -05:00
parent 7b53c4c29d
commit 64f37c1cdf
+3 -3
View File
@@ -5,11 +5,11 @@ define bind::zone (
$allow_updates = [],
$allow_transfers = [],
) {
if $domain == ''
if $domain == '' {
$_domain = $name
else
} else {
$_domain = $domain
fi
}
$file = "${bind::confdir}/zones/${name}.zone"