From bfd9f88d746787694a0d6a54812734fb29634d92 Mon Sep 17 00:00:00 2001 From: Stephen Gran Date: Sun, 24 Jun 2012 10:28:10 +0100 Subject: [PATCH] sigh, I see a pattern here Signed-off-by: Stephen Gran --- modules/puppetmaster/lib/puppet/parser/functions/nodeinfo.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.20.1