[Pkg-puppet-devel] [SCM] Packaging of Facter for debian branch, upstream, updated. 51bcebe38cab6088c901f1006339bbe40a36d161

Paul Nasrat pnasrat at googlemail.com
Wed Aug 18 05:55:41 UTC 2010


The following commit has been merged in the upstream branch:
commit f4269d90316b32334cc3bc972737acde379e6262
Author: Paul Nasrat <pnasrat at googlemail.com>
Date:   Sun Jan 17 16:08:16 2010 +0000

    Fix #2746 - add architecture support for GNU/kFreeBSD

diff --git a/lib/facter/architecture.rb b/lib/facter/architecture.rb
index 44fc97f..abd54da 100644
--- a/lib/facter/architecture.rb
+++ b/lib/facter/architecture.rb
@@ -1,12 +1,12 @@
 Facter.add(:architecture) do
-    confine :kernel => :linux
+    confine :kernel => [:linux, :"gnu/kfreebsd"]
     setcode do
         model = Facter.value(:hardwaremodel)
         case model
         # most linuxen use "x86_64"
         when "x86_64"
             case Facter.value(:operatingsystem)
-            when "Debian", "Gentoo"
+            when "Debian", "Gentoo", "GNU/kFreeBSD"
                 "amd64"
             else
                 model

-- 
Packaging of Facter for debian



More information about the Pkg-puppet-devel mailing list