I'm trying to use external facts from Facter 1.7 and everything looks good:
web0 $ cat /etc/facter/facts.d/environment.txt
web0 $ facter environment
web0 # puppet agent -t
Info: Retrieving plugin
Info: Loading facts in /var/lib/puppet/lib/facter/puppet_vardir.rb
Notice: Environment name for web0 is production
Notice: Finished catalog run in 11.25 seconds
But one thing do not leave me in peace - I can't use this fact in PuppetDB
API queries, for some reasons it is not visible for PuppetDB:
$ curl -X GET -H 'Accept: application/json'
Is somebody have an experience with using facts in puppetdb queries? Is it
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to email@example.com.
To post to this group, send email to firstname.lastname@example.org.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.