puppetlabs/puppet — pull request #2965 by peterhuene (2014-08-13 20:38:56+00:00)
Title: (PUP-3050) Update cfacter option for recent cfacter gem changes.

Now that cfacter implements the Ruby Facter interoperability layer, there
is no need for Puppet to "switch out" the Facter module for the CFacter
module. libfacter itself will now expose a compatible Facter module in
C++.

Therefore, we no longer need facts.rb or the corresponding spec.
Instead, simply require cfacter and call CFacter.initialize. This will
replace Ruby Facter with the libfacter implementation.