From: Stephen Gran Date: Thu, 25 Feb 2010 19:24:10 +0000 (+0000) Subject: strip some of the randomness X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=cc32fdc8ea20d3d9555b635a89eaa8ee9326c591;p=mirror%2Fdsa-puppet.git strip some of the randomness Signed-off-by: Stephen Gran --- diff --git a/facts/architecture.rb b/facts/architecture.rb index f0d7ff57e..894c82c0a 100644 --- a/facts/architecture.rb +++ b/facts/architecture.rb @@ -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