Issue #9928 has been updated by Ken Barber.

Target version changed from 1.6.x to 1.6.3
Affected Facter version deleted (1.6.2rc1)


----------------------------------------
Bug #9928: Warnings for processor_rspec.rb in Ruby 1.9.2
https://projects.puppetlabs.com/issues/9928

Author: Ken Barber
Status: Merged - Pending Release
Priority: Low
Assignee: Ken Barber
Category: testing
Target version: 1.6.3
Keywords: rspec, processorcount, each, ruby-1.9.2
Branch: 
https://github.com/kbarber/facter/tree/ticket/9928-rspec_warning_ruby-1.9.2
Affected Facter version: 


Specific tests:

    rspec -l 205 --format d spec/unit/processor_spec.rb
    rspec -l 219 --format d spec/unit/processor_spec.rb
    
Return these warnings:

      should be 6 on six-processor AIX box
    Could not retrieve processorcount: undefined method `each' for "":String
      should be 2 via sysfs when cpu0 and cpu1 are present
    Could not retrieve processorcount: undefined method `each' for "":String
    
This was introduced by:

    328ff7584e0353a609cba6d9fa08c0b6a26be664 is the first bad commit
    commit 328ff7584e0353a609cba6d9fa08c0b6a26be664
    Author: Michael Kincaid <[email protected]>
    Date:   Thu Apr 7 10:28:37 2011 -0700

    (#6515 and #2945) Fix processorcount for arm, sparc & ppc for linux.


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