Issue #17840 has been updated by Jeff McCune.

Status changed from In Topic Branch Pending Review to Tests Insufficient
Assignee set to Adrien Thebo
Target version set to 1.6.x

@adrienthebo 

I'm getting this failure when I run the specs against this branch:

<pre>
Failures:

  1) Facter::Util::Processor with architecture x86 should have the correct 
processor titles
     Failure/Error: subject { Facter::Util::Processor.enum_cpuinfo }
     NoMethodError:
       undefined method `each' for #<String:0x007f9233389768>
     # ./lib/facter/util/processor.rb:222:in `block in enum_cpuinfo'
     # <internal:prelude>:28:in `block in exclusive'
     # <internal:prelude>:10:in `synchronize'
     # <internal:prelude>:27:in `exclusive'
     # ./lib/facter/util/processor.rb:221:in `enum_cpuinfo'
     # ./spec/unit/util/processor_spec.rb:61:in `block (3 levels) in <top 
(required)>'
     # ./spec/unit/util/processor_spec.rb:64:in `block (3 levels) in <top 
(required)>'

Finished in 4.75 seconds
742 examples, 1 failure

Failed examples:
</pre>

Here's my integration:

<pre>
$ rake
(in /workspace/puppet-3.x)
 * Ruby (MRI)               1.9.3p194 2012-04-20 revision 35410 
x86_64-darwin12.1.0
 * puppet                   3.0.x     3.0.1-110-g08387b7        08387b7         
   
 * facter                   1.6.x     1.6.15-rc1                7aaee5e         
   
 * hiera                    master    1.1.1-2-g198edf4          198edf4         
   
 * rspec-puppet             master    v0.1.5                    695b9a4         
   
 * puppetlabs_spec_helper   master    0.3.0-3-gdf3b021          df3b021         
   
 * fog                      0.7.2     v0.7.2                    c7ec7c9         
   
 * rbvmomi                  master    N/A                       5dc0ca3         
   
 * stdlib                   master    3.1.1-61-ge590e1b         e590e1b         
   
 * hiera_puppet             v0.3.0    v0.3.0                    06e70f3         
   
 * mount_providers          master    0.0.2                     233e3f6         
   
 * pe_mcollective           master    0.0.45-2-g64c6523         64c6523         
   
 * pe_accounts              master    1.0.3                     0725c16         
   
 * pe_compliance            master    0.0.5                     dddc001         
   
 * cloud_provisioner        master    1.0.5-6-gd69f962          d69f962         
   
 * cloud_provisioner_vmware master    v1.0.0-5-g6eaab64         6eaab64         
   
 * hiera_puppet             v0.3.0    v0.3.0                    06e70f3         
   
 * json                     gem       1.5.4                     N/A             
   
 * mocha                    gem       0.10.5                    N/A             
   
 * rack                     gem       1.4.1                     N/A             
   
 * rack-protection          gem       1.2.0                     N/A             
   
 * rspec                    gem       2.10.0                    N/A             
   
 * rspec-core               gem       2.10.1                    N/A             
   
 * rspec-expectations       gem       2.10.0                    N/A             
   
 * rspec-mocks              gem       2.10.1                    N/A             
   
 * rspec-puppet             gem       0.1.5                     N/A  
</pre>
----------------------------------------
Bug #17840: Processor CPU enumeration fails for x86 Windows/Gentoo systems
https://projects.puppetlabs.com/issues/17840#change-77609

Author: Adrien Thebo
Status: Tests Insufficient
Priority: Normal
Assignee: Adrien Thebo
Category: 
Target version: 1.6.x
Keywords: 
Branch: https://github.com/puppetlabs/facter/pull/360
Affected Facter version: 


Windows and Gentoo treat 'x86' as the name of i386 systems, but the 
enum_cpuinfo facter util resolution method doesn't treat this value as a 
synonym for i386. This means that Windows and Gentoo systems cannot provide any 
of the processor\* facts.




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