strip some of the randomness
authorStephen Gran <steve@lobefin.net>
Thu, 25 Feb 2010 19:24:10 +0000 (19:24 +0000)
committerStephen Gran <steve@lobefin.net>
Thu, 25 Feb 2010 19:24:10 +0000 (19:24 +0000)
Signed-off-by: Stephen Gran <steve@lobefin.net>
facts/architecture.rb

index f0d7ff5..894c82c 100644 (file)
@@ -13,7 +13,7 @@ end
 
 Facter.add(:debarchitecture) do
     setcode do
-        %x{/usr/bin/dpkg --print-architecture}
+        %x{/usr/bin/dpkg --print-architecture}.chomp
     end
 end