]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/puppetmaster/lib/puppet/parser/functions/nodeinfo.rb
a little more
[dsa-puppet.git] / 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