aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/bind/manifests/zone.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/bind/manifests/zone.pp b/modules/bind/manifests/zone.pp
index 24367206..c99c3f16 100644
--- a/modules/bind/manifests/zone.pp
+++ b/modules/bind/manifests/zone.pp
@@ -1,10 +1,10 @@
define bind::zone($type, $content = false) {
if ! $content {
- $zone_content = template("bind/zones/$name.zone")
+ $zone_content = template("bind/zones/${name}.zone")
} else {
$zone_content = $content
}
- file { "/var/lib/named/var/named/$type/$name.zone":
+ file { "/var/lib/named/var/named/${type}/${name}.zone":
content => $zone_content,
require => Package['bind'],
notify => Exec['named_reload']