From: Stephen Gran Date: Sun, 24 Jun 2012 09:28:10 +0000 (+0100) Subject: sigh, I see a pattern here X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=bfd9f88d746787694a0d6a54812734fb29634d92;p=mirror%2Fdsa-puppet.git sigh, I see a pattern here Signed-off-by: Stephen Gran --- diff --git a/modules/puppetmaster/lib/puppet/parser/functions/nodeinfo.rb b/modules/puppetmaster/lib/puppet/parser/functions/nodeinfo.rb index fd61919ed..6b6453da5 100644 --- a/modules/puppetmaster/lib/puppet/parser/functions/nodeinfo.rb +++ b/modules/puppetmaster/lib/puppet/parser/functions/nodeinfo.rb @@ -34,7 +34,7 @@ module Puppet::Parser::Functions end v6ips = lookupvar('::v6ips') - if v6ips and v6ips != "" + if v6ips and v6ips != "" and v6ips != 'undefined' nodeinfo['misc']['v6addrs'] = v6ips.split(',') end end