From b15c05131ef0b75f1bdf505e3d6504f68a461dc0 Mon Sep 17 00:00:00 2001 From: Raphaƫl Pinson Date: Mon, 26 Mar 2012 18:59:56 +0200 Subject: Change variable name (don't use $fqdn) --- manifests/a.pp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'manifests') 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, } + } } -- cgit v1.2.3