and strip
[mirror/dsa-puppet.git] / modules / debian-org / lib / facter / system-hw.rb
index 05a0a86..6eeaffb 100644 (file)
@@ -1,6 +1,6 @@
 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