Issue #6521 has been updated by Thomas Hatch.

I have also prepared an Arch Linux package to hel with testing facter on ruby 
1.9 (since Arch is running ruby 1.9):
https://aur.archlinux.org/packages.php?ID=47009
----------------------------------------
Bug #6521: Facter throws warning and errors on ruby 1.9
https://projects.puppetlabs.com/issues/6521

Author: Thomas Hatch
Status: Unreviewed
Priority: Normal
Assignee: 
Category: 
Target version: 
Affected Puppet version: 
Keywords: 
Branch: 


This looks like low hanging fruit, I am getting a bunch or warnings and an 
error when running facter on ruby 1.9
ruby version:
ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-linux]

facter warnings/errors:
[thatch@fenrir facter-ruby1.9]$ facter
/usr/lib/ruby/site_ruby/1.9.1/facter/lsb.rb:27: warning: class variable access 
from toplevel
/usr/lib/ruby/site_ruby/1.9.1/facter/lsb.rb:28: warning: class variable access 
from toplevel
/usr/lib/ruby/site_ruby/1.9.1/facter/lsb.rb:31: warning: class variable access 
from toplevel
/usr/lib/ruby/site_ruby/1.9.1/facter/lsb.rb:25: warning: class variable access 
from toplevel
/usr/lib/ruby/site_ruby/1.9.1/facter/lsb.rb:31: warning: class variable access 
from toplevel
/usr/lib/ruby/site_ruby/1.9.1/facter/lsb.rb:25: warning: class variable access 
from toplevel
/usr/lib/ruby/site_ruby/1.9.1/facter/lsb.rb:31: warning: class variable access 
from toplevel
/usr/lib/ruby/site_ruby/1.9.1/facter/lsb.rb:25: warning: class variable access 
from toplevel
/usr/lib/ruby/site_ruby/1.9.1/facter/lsb.rb:31: warning: class variable access 
from toplevel
/usr/lib/ruby/site_ruby/1.9.1/facter/lsb.rb:25: warning: class variable access 
from toplevel
/usr/lib/ruby/site_ruby/1.9.1/facter/lsb.rb:31: warning: class variable access 
from toplevel
/usr/lib/ruby/site_ruby/1.9.1/facter/lsb.rb:25: warning: class variable access 
from toplevel
/usr/lib/ruby/site_ruby/1.9.1/facter/lsb.rb:31: warning: class variable access 
from toplevel
/usr/lib/ruby/site_ruby/1.9.1/facter/lsb.rb:25: warning: class variable access 
from toplevel
/usr/lib/ruby/site_ruby/1.9.1/facter/lsb.rb:31: warning: class variable access 
from toplevel
/usr/lib/ruby/site_ruby/1.9.1/facter/lsb.rb:25: warning: class variable access 
from toplevel
/usr/lib/ruby/site_ruby/1.9.1/facter/lsb.rb:31: warning: class variable access 
from toplevel
/usr/lib/ruby/site_ruby/1.9.1/facter/lsb.rb:25: warning: class variable access 
from toplevel
/usr/lib/ruby/site_ruby/1.9.1/facter/lsb.rb:31: warning: class variable access 
from toplevel
/usr/lib/ruby/site_ruby/1.9.1/facter/lsb.rb:25: warning: class variable access 
from toplevel
/usr/lib/ruby/site_ruby/1.9.1/facter/lsb.rb:31: warning: class variable access 
from toplevel
/usr/lib/ruby/site_ruby/1.9.1/facter/lsb.rb:25: warning: class variable access 
from toplevel
/usr/lib/ruby/site_ruby/1.9.1/facter/lsb.rb:31: warning: class variable access 
from toplevel
/usr/lib/ruby/site_ruby/1.9.1/facter/lsb.rb:25: warning: class variable access 
from toplevel
/usr/lib/ruby/site_ruby/1.9.1/facter/lsb.rb:31: warning: class variable access 
from toplevel
Could not retrieve vlans: undefined method `each' for "":String
architecture => x86_64
domain => red45.org
facterversion => 1.5.8



-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" 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-bugs?hl=en.

Reply via email to