puppetlabs/puppet_for_the_win — pull request #25 by jeffmccune (2012-03-07 01:35:39+00:00)
Title: (#12357) Write facts to %COMMON_APPDATA%/PuppetLabs/facter/facts.d

In [stdlib pull request
44](https://github.com/puppetlabs/puppetlabs-stdlib/pull/44) we decided
to read TXT based facts written by the installer from
%COMMON_APPDATA%/PuppetLabs/facter/facts.d. We made this decision to
match up with how Puppet Enterprise writes facts on other platforms.

This is a problem for the installer because it writes facts to
%COMMON_APPDATA%/PuppetLabs/puppet/etc/facts.d which is no longer being
read by the facts_dot_d.rb custom fact.

This patch fixes the problem by writing the installer text facts to the
same directory read by the stdlib custom fact.