What the heck is gnu/kfreebsd?
Code seems ok, though.
On Jan 17, 2010, at 8:09 AM, Paul Nasrat wrote:
Signed-off-by: Paul Nasrat <[email protected]>
---
lib/facter/architecture.rb | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
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
--
1.6.4.2
--
You received this message because you are subscribed to the Google
Groups "Puppet Developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected]
.
For more options, visit this group at http://groups.google.com/group/puppet-dev?hl=en
.
--
I don't deserve this award, but I have arthritis and I don't deserve
that either. -- Jack Benny
---------------------------------------------------------------------
Luke Kanies -|- http://reductivelabs.com -|- +1(615)594-8199
--
You received this message because you are subscribed to the Google Groups
"Puppet Developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-dev?hl=en.