From: Peter Palfrader Date: Sat, 13 Apr 2013 09:59:05 +0000 (+0200) Subject: and strip X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=d6b9140b5ddd8ecfe1f0235dfb2d4244ad773551;p=dsa-puppet.git and strip --- diff --git a/modules/debian-org/lib/facter/system-hw.rb b/modules/debian-org/lib/facter/system-hw.rb index 05a0a869..6eeaffb9 100644 --- a/modules/debian-org/lib/facter/system-hw.rb +++ b/modules/debian-org/lib/facter/system-hw.rb @@ -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