and strip
[mirror/dsa-puppet.git] / modules / debian-org / lib / facter / system-hw.rb
index 1a154f6..6eeaffb 100644 (file)
@@ -1,6 +1,6 @@
-Facter.add("system-product-name") do
+Facter.add("systemproductname") do
        confine :kernel => :linux
        setcode do
-               %x{dmidecode -s system-product-name}.chomp
+               %x{dmidecode -s system-product-name}.chomp.strip
        end
 end