I just upgraded to puppet4.2 aio on some machines to fix a bug we have been having with puppet.
But this introduced a new problem. It seems like out custom facts are not being loaded by puppet or facter.
We have 3 external facts manually set in files.
[root@xxxxx facts.d]# ll /etc/facter/facts.d/
total 12
-rw------- 1 root root 16 Jun 11 09:34 datacenter.txt
-rw------- 1 root root 13 Jun 11 09:34 stack.txt
-rw------- 1 root root 12 Jun 11 09:34 track.txt
but facter does not see them by default
[root@xxxxx facts.d]# /opt/puppetlabs/bin/facter | grep stack
If i use the externa-dir option it works.
[root@java-d11ah facts.d]# /opt/puppetlabs/bin/facter --external-dir /etc/facter/facts.d/ | grep stack
stack => javaact
I dont see anything in the release notes that would of changed this.