Issue #6521 has been updated by James Turnbull.

Status changed from Ready For Testing to Closed

Available in commit:3e6217d63c73c720a7d697d810f556adf13f134b
----------------------------------------
Bug #6521: Facter throws warning and errors on ruby 1.9
https://projects.puppetlabs.com/issues/6521

Author: Thomas Hatch
Status: Closed
Priority: Normal
Assignee: 
Category: library
Target version: 1.5.9
Affected Puppet version: 
Keywords: 
Branch: https://github.com/jamtur01/facter/tree/tickets/master/6521


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:
<pre>
[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
</pre>


-- 
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