]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
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 f0d7ff57e38d0895e83bad8d33aa3fee4c549045..894c82c0a77ec65b35c1fb5c34fccd846549d2e8 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