diff options
author | Raphaël Pinson <raphael.pinson@camptocamp.com> | 2012-03-26 18:59:56 +0200 |
---|---|---|
committer | Raphaël Pinson <raphael.pinson@camptocamp.com> | 2012-03-26 18:59:56 +0200 |
commit | b15c05131ef0b75f1bdf505e3d6504f68a461dc0 (patch) | |
tree | 227e467f6edfba26eb5f28187b3eeaf55a2c0c51 | |
parent | 60515f980483225bf48c728bf30cda84a90a911a (diff) | |
download | puppet-bind-b15c05131ef0b75f1bdf505e3d6504f68a461dc0.tar.gz puppet-bind-b15c05131ef0b75f1bdf505e3d6504f68a461dc0.tar.bz2 |
Change variable name (don't use $fqdn)
-rw-r--r-- | manifests/a.pp | 10 |
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, } + } } |