Issue #19919 has been updated by Michael Moll.

Status changed from Investigating to Closed

As it turns out, this is already implemented in the master and 1.7.x branches:

<pre>
Facter.add("Processor") do
  confine :kernel => [:dragonfly,:freebsd]
  setcode "sysctl -n hw.model"
end

Facter.add("ProcessorCount") do
  confine :kernel => [:dragonfly,:freebsd,:openbsd]
  setcode "sysctl -n hw.ncpu"
end
</pre>

----------------------------------------
Feature #19919: processor and processorcount facts are absent on FreeBSD
https://projects.puppetlabs.com/issues/19919#change-88969

* Author: Dmitry Sivachenko
* Status: Closed
* Priority: Normal
* Assignee: Michael Moll
* Category: 
* Target version: 
* Keywords: 
* Branch: 
* Affected Facter version: 
----------------------------------------
processor and processorcount facts are not provided on FreeBSD OS.

The attached patch fixes that.


-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to