bandwidth graphs for v6
[mirror/dsa-puppet.git] / facts / ipaddresses.rb
index a80fa6b..17dbd84 100644 (file)
@@ -23,8 +23,12 @@ Facter.add("v6ips") do
                         addrs << $1
                 end
         end
+        ret = addrs.join(",")
+        if ret.empty?
+          ret = 'no'
+        end
         setcode do
-                addrs.join(",")
+          ret
         end
 end