Signed-off-by: Paul Nasrat <[EMAIL PROTECTED]>
---
lib/facter/lsb.rb | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/lib/facter/lsb.rb b/lib/facter/lsb.rb
index 6f6e4bf..2a1ca6e 100644
--- a/lib/facter/lsb.rb
+++ b/lib/facter/lsb.rb
@@ -20,6 +20,7 @@
"LSBDistCodeName" => %r{^Codename:\t(.*)$}
}.each do |fact, pattern|
Facter.add(fact) do
+ confine :kernel => :linux
setcode do
unless defined?(@@lsbdata) and defined?(@@lsbtime) and
(Time.now.to_i - @@lsbtime.to_i < 5)
type = nil
--
1.5.3.4
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---