Issue #6515 has been updated by James Turnbull.
Status changed from Ready For Testing to Code Insufficient
I get two test failures:
Failures:
1) Architecture fact should be amd64 if os is Ubuntu and hardwaremodel is
x86_64
Failure/Error: Facter.fact(:architecture).value.should == result
expected: "amd64"
got: "x86_64" (using ==)
# ./spec/unit/architecture_spec.rb:39
2) Processor count fact should be 2 on dual-processor Darwin box
Failure/Error: Facter.loadfacts
NoMethodError:
undefined method `each' for nil:NilClass
# ./spec/../lib/facter/macosx.rb:28
# ./spec/../lib/facter/util/loader.rb:73:in `load'
# ./spec/../lib/facter/util/loader.rb:73:in `load_file'
# ./spec/../lib/facter/util/loader.rb:38:in `load_all'
# ./spec/../lib/facter/util/loader.rb:33:in `each'
# ./spec/../lib/facter/util/loader.rb:33:in `load_all'
# ./spec/../lib/facter/util/loader.rb:30:in `each'
# ./spec/../lib/facter/util/loader.rb:30:in `load_all'
# ./spec/../lib/facter/util/collection.rb:90:in `load_all'
# ./spec/../lib/facter.rb:221:in `loadfacts'
# ./spec/unit/processor_spec.rb:115
Finished in 9.41 seconds
396 examples, 2 failures
----------------------------------------
Bug #6515: processorcount not initialized
https://projects.puppetlabs.com/issues/6515
Author: LaMont Jones
Status: Code Insufficient
Priority: Normal
Assignee: James Turnbull
Category:
Target version:
Keywords:
Branch: https://github.com/mkincaid/facter/tree/ticket/next/6515
The current processor facts do not correctly support arm, powerpc, nor sparc.
Attached below are the output of (set -x ; cat /proc/cpuinfo; find
/sys/devices/system/cpu/ /sys/class/cpuid ) > ~/$(dpkg
--print-architecture).info 2>&1 on representative hosts of the ilk.
Also attached is a (admittedly ugly) patch to 1.5.7 that causes facter to at
least get processorcount correct.
--
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.