Issue #18215 has been updated by Josh Cooper. Target version set to 1.7.4
---------------------------------------- Bug #18215: processorcount counting CPU cores on Solaris https://projects.puppetlabs.com/issues/18215#change-101182 * Author: Alex Harvey * Status: Merged - Pending Release * Priority: Normal * Assignee: * Category: solaris * Target version: 1.7.4 * Keywords: * Branch: https://github.com/puppetlabs/facter/pull/438 * Affected Facter version: ---------------------------------------- The processorcount fact on Solaris is counting CPU cores - <pre> myhost# facter |grep proc physicalprocessorcount => 1 processor0 => SPARC64-VII processor1 => SPARC64-VII processor2 => SPARC64-VII processor3 => SPARC64-VII processor4 => SPARC64-VII processor5 => SPARC64-VII processor6 => SPARC64-VII processor7 => SPARC64-VII processorcount => 4 </pre> - but on linux is counting CPU threads - <pre> myotherhost# facter |grep proc physicalprocessorcount => 1 processor0 => Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz processor1 => Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz processor2 => Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz processor3 => Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz processor4 => Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz processor5 => Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz processor6 => Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz processor7 => Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz processorcount => 8 </pre> This is a single 4-core CPU with 8 threads similar to the Solaris example above. A patch here should also provide a processorcorecount fact that preserves the existing behaviour of processorcount on Solaris. See discussions in puppet users https://groups.google.com/forum/?fromgroups=&pli=1#!topic/puppet-users/rOj9OszhlQM And puppet developers https://groups.google.com/forum/?fromgroups=&pli=1#!topic/puppet-dev/payc4ToNcGQ -- 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://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/groups/opt_out.