From: Raphaƫl Pinson Date: Mon, 26 Mar 2012 16:59:56 +0000 (+0200) Subject: Change variable name (don't use $fqdn) X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=b15c05131ef0b75f1bdf505e3d6504f68a461dc0;p=puppet-bind.git Change variable name (don't use $fqdn) --- 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, } + } }