summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaphaël Pinson <raphael.pinson@camptocamp.com>2012-03-26 18:59:56 +0200
committerRaphaël Pinson <raphael.pinson@camptocamp.com>2012-03-26 18:59:56 +0200
commitb15c05131ef0b75f1bdf505e3d6504f68a461dc0 (patch)
tree227e467f6edfba26eb5f28187b3eeaf55a2c0c51
parent60515f980483225bf48c728bf30cda84a90a911a (diff)
downloadpuppet-bind-b15c05131ef0b75f1bdf505e3d6504f68a461dc0.tar.gz
puppet-bind-b15c05131ef0b75f1bdf505e3d6504f68a461dc0.tar.bz2
Change variable name (don't use $fqdn)
-rw-r--r--manifests/a.pp10
1 files changed, 5 insertions, 5 deletions
diff --git a/manifests/a.pp b/manifests/a.pp
index f2e8bca..903315b 100644
--- a/manifests/a.pp
+++ b/manifests/a.pp
@@ -28,15 +28,15 @@ define bind::a($ensure=present,
}
if $ptr {
- $subnet = inline_template(<%= host.split('.')[0,3].join('.') %>)
- $number = inline_template(<%= host.split('.')[3] %>)
- $fqdn = $owner
+ $subnet = inline_template("<%= host.split('.')[0,3].join('.') %>")
+ $number = inline_template("<%= host.split('.')[3] %>")
- bind::ptr {
+ bind::ptr {$host:
ensure => $ensure,
zone => $subnet,
owner => $number,
- host => $fqdn,
+ host => $owner,
ttl => $ttl,
}
+ }
}