[Pkg-puppet-devel] Bug#673461: Bug#673461: facter: processor fact is wrong on some arches

Stephen Gran sgran at debian.org
Sat May 19 13:50:05 UTC 2012


Hi,

This one time, at band camp, Stig Sandbeck Mathisen said:
> Version: 1.6.2-1
> 
> micah anderson <micah at riseup.net> writes:
> 
> > Can you try the newest bpo version of facter to see if it still is
> > the same?
> 
> in 1.5.7, facter parses /proc/cpuinfo, which unfortunately has a
> different format for each architecture.
> 
> In 1.6.2 (commit at http://deb.li/ii11z), the "processor" facts
> started using sysfs instead. I'll mark this bug as closed, with this
> version.

It's quite a bit better, in that it now gives the correct processorcount
on linux machines.  It still doesn't give a processorcount on kfreebsd
at all.  It seems this is trying to use sysfs as well - that won't work
on kfreebsd.

While processorcount is now correct, it seems that other processor
information is still missing on s390, s390x, ppc, mips and mipsel.  That
just seems to be missing switches in the case statement.

Cheers,
-- 
 -----------------------------------------------------------------
|   ,''`.                                            Stephen Gran |
|  : :' :                                        sgran at debian.org |
|  `. `'                        Debian user, admin, and developer |
|    `-                                     http://www.debian.org |
 -----------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-puppet-devel/attachments/20120519/535db38b/attachment.pgp>


More information about the Pkg-puppet-devel mailing list