CFacter 0.3.0 is the current version that we're bundling with the MSI. However, this version has a number of issues that prevent it from working properly on Windows, and therefore to be able to use cfacter with external facts (CFACT-219), custom facts, on Windows 2003 (CFACT-166) and inside puppet itself via the --cfacter switch (CFACT-198 /
PUP-3821 / CFACT-208), we must ship the fully released CFacter 0.4.0.
Note that there were also a number of change made to puppet_for_the_win to allow CFacter to be used, including
PUP-3854 and https://github.com/puppetlabs/puppet_for_the_win/pull/91. cfacter.rb needs to be in the appropriate cfacter/lib directory for Puppet to be able to call it.
With that said, ext/build_defaults.yaml should have not only the cfacter reference at https://github.com/puppetlabs/puppet/blob/master/ext/build_defaults.yaml#L25-L28 changed, but also the puppet_for_the_win ref at https://github.com/puppetlabs/puppet/blob/master/ext/build_defaults.yaml#L20
At the same time, the foss-4.0-x86.yaml and foss-4.0-x64.yaml should be updated as well: