Issue #6521 has been updated by Thomas Hatch.

James, it appears that you are running facter on ruby 1.8, these errors only 
appear when running facter on ruby 1.9.

Throw together an Arch vm on that Linode account, update it with a pacman -Syu 
and install the package I referenced, facter-ruby1.9.

If you would like I can install an Arch vm on my slicehost account so you can 
see the issue.
----------------------------------------
Bug #6521: Facter throws warning and errors on ruby 1.9
https://projects.puppetlabs.com/issues/6521

Author: Thomas Hatch
Status: Ready for Testing
Priority: Normal
Assignee: 
Category: library
Target version: 
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