Issue #1966 has been updated by luke. Status changed from Unreviewed to Code Insufficient
This should be confined to only the platforms where /proc/cpuinfo exists. ---------------------------------------- Feature #1966: add physical processor count fact http://projects.reductivelabs.com:80/issues/1966 Author: ohookins Status: Code Insufficient Priority: Normal Assigned to: Category: Target version: Complexity: Unknown Keywords: Could be something like this: <pre> Facter.add("physicalprocessorcount") do setcode do ppcount = Facter::Util::Resolution.exec('grep "physical id" /proc/cpuinfo|cut -d: -f 2|sort -u|wc -l') end end </pre> ---------------------------------------- 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://reductivelabs.com/redmine/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 -~----------~----~----~----~------~----~------~--~---
