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

Stephen Gran sgran at debian.org
Fri May 18 19:44:03 UTC 2012


Package: facter
Version: 1.5.7-3
Severity: normal

Hello,

I recently broke a few things (oops, mea culpa) by assuming rather
naively that all machines have processors.  Apparently, facter does not
agree.

A quick looks says:

arm/armel:

abel.debian.org.yaml:    processorcount: "0"
agricola.debian.org.yaml:    processorcount: "0"
alain.debian.org.yaml:    processorcount: "0"
alwyn.debian.org.yaml:    processorcount: "0"
ancina.debian.org.yaml:    processorcount: "0"
antheil.debian.org.yaml:    processorcount: "0"
arcadelt.debian.org.yaml:    processorcount: "0"
argento.debian.org.yaml:    processorcount: "0"
arne.debian.org.yaml:    processorcount: "0"
arnold.debian.org.yaml:    processorcount: "0"

mips/mipsel:

ball.debian.org.yaml:    processorcount: "0"
corelli.debian.org.yaml:    processorcount: "0"
eder.debian.org.yaml:    processorcount: "0"
eysler.debian.org.yaml:    processorcount: "0"
gabrielli.debian.org.yaml:    processorcount: "0"
lucatelli.debian.org.yaml:    processorcount: "0"
mayer.debian.org.yaml:    processorcount: "0"
rem.debian.org.yaml:    processorcount: "0"

sparc:

lebrun.debian.org.yaml:    processorcount: "0"
schroeder.debian.org.yaml:    processorcount: "0"
smetana.debian.org.yaml:    processorcount: "0"
sompek.debian.org.yaml:    processorcount: "0"
spontini.debian.org.yaml:    processorcount: "0"
stadler.debian.org.yaml:    processorcount: "0"

ppc:

parry.debian.org.yaml:    processorcount: "0"
partch.debian.org.yaml:    processorcount: "0"
piston.debian.org.yaml:    processorcount: "0"
porpora.debian.org.yaml:    processorcount: "0"
poulenc.debian.org.yaml:    processorcount: "0"
praetorius.debian.org.yaml:    processorcount: "0"

s390:

zandonai.debian.org.yaml:    processorcount: "0"
zappa.debian.org.yaml:    processorcount: "0"
zelenka.debian.org.yaml:    processorcount: "0"
zemlinsky.debian.org.yaml:    processorcount: "0"

It seems as though this fact really only works the way it's intended to
work on intel/amd chips?

Cheers,

-- System Information:
Debian Release: 6.0.5
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.utf8)
Shell: /bin/sh linked to /bin/dash

Versions of packages facter depends on:
ii  bind9-host [host 1:9.7.3.dfsg-1~squeeze4 Version of 'host' bundled with BIN
ii  libruby1.8 [libo 1.8.7.302-2squeeze1     Libraries necessary to run Ruby 1.
ii  net-tools        1.60-23                 The NET-3 networking toolkit
ii  ruby1.8          1.8.7.302-2squeeze1     Interpreter of object-oriented scr

Versions of packages facter recommends:
ii  pciutils                      1:3.1.7-6  Linux PCI Utilities

facter suggests no packages.

-- no debconf information

-- 
 -----------------------------------------------------------------
|   ,''`.                                            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/20120518/6a6252c3/attachment.pgp>


More information about the Pkg-puppet-devel mailing list