Issue #6521 has been updated by James Turnbull.

Category set to library
Status changed from Unreviewed to Ready for Testing
Branch set to https://github.com/jamtur01/facter/tree/tickets/master/6521

Thomas

I can't replicate this:


 sudo facter
architecture => i386
domain => lovedthanlost.net
facterversion => 1.5.7
fqdn => absenta.lovedthanlost.net
hardwareisa => unknown
hardwaremodel => i686
hostname => absenta
id => root
interfaces => dummy0,eth0,gre0,ip6tnl0,sit0,teql0,tunl0
ipaddress => 173.255.211.118
ipaddress_eth0 => 173.255.211.118
is_virtual => true
kernel => Linux
kernelmajversion => 2.6
kernelrelease => 2.6.32.16-linode28
kernelversion => 2.6.32.16
lsbdistcodename => maverick
lsbdistdescription => Ubuntu 10.10
lsbdistid => Ubuntu
lsbdistrelease => 10.10
lsbmajdistrelease => 10
macaddress => 82:80:f5:62:b5:1e
macaddress_dummy0 => 82:80:f5:62:b5:1e
macaddress_eth0 => fe:fd:ad:ff:d3:76
memoryfree => 425.87 MB
memorysize => 498.68 MB
netmask => 255.255.255.0
netmask_eth0 => 255.255.255.0
network_eth0 => 173.255.211.0
operatingsystem => Ubuntu
operatingsystemrelease => 10.10
path => 
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin
physicalprocessorcount => 0
processor0 => Intel(R) Xeon(R) CPU           L5520  @ 2.27GHz
processor1 => Intel(R) Xeon(R) CPU           L5520  @ 2.27GHz
processor2 => Intel(R) Xeon(R) CPU           L5520  @ 2.27GHz
processor3 => Intel(R) Xeon(R) CPU           L5520  @ 2.27GHz
processorcount => 4
ps => ps -ef
puppetversion => 2.6.4
rubysitedir => /usr/local/lib/site_ruby/1.8
rubyversion => 1.8.7
selinux => false
sshdsakey => 
AAAAB3NzaC1kc3MAAACBAJ7MlhSnsMUoe5fJDgEHp+PYhQGqxq09i3DyuzwK0iy9xJG6S6ZuezdtHHmFCQ/FG8LfLV4Fd3V02LLdds+ll45Gil6KJf9yARIZVGmljpwU6cHbH37HYuwHf/1qurNHQwLsX8P+Q3o6Iswa9gulFdqFIFYcQ1bQGulVC9zWbDlvAAAAFQDBq9QQR+7IDr4YtbJV782v/Oia8QAAAIEAiMkU4On26D4rl1RcWWpMDe1Yu5m4+VyJuOD8aZFKu+UJSML2OGS5SY9HkYYqUEvXAqr0WvBRVueB8KtZ8RzSg/KB9KuhSgWU8wViDnQ2IY4CC254DpVdjYmf2Jz5R4C+qVCdoWIw1lWBHnbDzef/JAkihO1wO1HPYaewHzIQbswAAACAEfhhGbUTKT1FtYJUo8Caz6sm7o8qBa3f2Olm3l6SdmBpiPWYcL8ILHJAXoVSKgz9x5V1BA9xvpW6j7Lvqoq4KjaZ/cAPkv6g1kiOp3BWrgQvtYBo6ME6v7laGSZlW1uC6veSwRUVg/ibizQ8GOFrUDhmLDNgMFLzoTmO7jASUqk=
sshrsakey => 
AAAAB3NzaC1yc2EAAAADAQABAAABAQC7A6PrakXAhu12D6BFVyRyPKNSl4AkliU5WomJf8KkGFuubVKcyAwVJe0QitS3pt/+ucqtJN3cYLhzM3+nSiBXJrNL23p8t9MWP06ars365qjsv5RtGJWq3b4Yg8yU84u6xXquUnq0lMAgr4kc1AvJjJ162j+8c+onw/cFO/6XYnPVt1jxHt0U5aVU4+/Yy3vzbFyBOUMnfw4e1yUuL/2wfRikHnEKoJ0v9yHPIGvNzHL70PVQCGogHjC27Ai3AduEBe1SkPL5q06zRuJ0J9tUJYIW/l3NBXoeOQW1VjgEGwflzn9ZG38OZsaqr501KVTNNno6Thc9pOrOrgIwPZXt
swapfree => 511.99 MB
swapsize => 511.99 MB
timezone => EST
uniqueid => ffad76d3
uptime => 9 days
uptime_days => 9
uptime_hours => 234
uptime_seconds => 844078
virtual => xenu

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