this should make whitelist, greylist and callout work as expected for virtual domains
[mirror/dsa-puppet.git] / 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