]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
a little more
authorStephen Gran <steve@lobefin.net>
Sun, 24 Jun 2012 09:34:38 +0000 (10:34 +0100)
committerStephen Gran <steve@lobefin.net>
Sun, 24 Jun 2012 09:34:38 +0000 (10:34 +0100)
Signed-off-by: Stephen Gran <steve@lobefin.net>
modules/puppetmaster/lib/puppet/parser/functions/nodeinfo.rb

index 6b6453da59d7f0f85ee101a93dc5654c9f9ca454..47251c0a31c884ce745bf62c238d0a7c79e63a51 100644 (file)
@@ -34,7 +34,7 @@ module Puppet::Parser::Functions
         end
 
         v6ips = lookupvar('::v6ips')
-        if v6ips and v6ips != "" and v6ips != 'undefined'
+        if v6ips and v6ips.to_s != "" and v6ips.to_s != 'undefined'
           nodeinfo['misc']['v6addrs'] = v6ips.split(',')
         end
       end