Running Facter v2.4.6, Puppet 3.8.6 on Ubuntu Trusty
One Puppet master host and one Agent
I have a custom Puppet report and I'd like to read some of my external Facts from within this report. I can see the external Fact from the cli and ALSO when running:
ruby -e "require 'facter'; puts Facter.value(:external_fact)"
I don't understand why this is. My external facts are in /etc/facter/facts.d/external.json.
Any idea what I am doing wrong here? Why can't I see this custom Fact from a Puppet report?
Thanks...