add smarthosts
[mirror/dsa-puppet.git] / facts / architecture.rb
index d6187b2..894c82c 100644 (file)
@@ -11,3 +11,9 @@ Facter.add(:architecture) do
     end
 end
 
+Facter.add(:debarchitecture) do
+    setcode do
+        %x{/usr/bin/dpkg --print-architecture}.chomp
+    end
+end
+