Issue #1966 has been updated by jamtur01.

Category set to library
Status changed from Code Insufficient to Closed
Target version set to 1.5.4

Updated to confine to Linux and pushed in 
commit:"a99d04358533b1cac29ed777440e2608ba0a01c9" in branch 0.24.x
----------------------------------------
Feature #1966: add physical processor count fact
http://projects.reductivelabs.com:80/issues/1966

Author: ohookins
Status: Closed
Priority: Normal
Assigned to: 
Category: library
Target version: 1.5.4
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to