puppetlabs/cfacter — pull request #32 by peterhuene (2014-05-07 23:47:12+00:00)
Title: (maint) Fix Linux physicalprocessorcount fact to handle processors without cores.

If a processor doesn't report cores in /proc/cpuinfo, it doesn't have an
entry for "core id" and "physical id". As a result, we weren't
correctly counting these processors in the physicalprocessorcount fact.

The fix is to treat the processor identifier as the CPU identifier when
no physical id is given.