Add support for fact retrieval via puppet inventory service REST API
- Using storeconfigs with foreman and puppet sharing a database
- importing facts if foreman and puppetmaster are on the same host
- various methods that rely on puppet storing the facts as yaml on disk
There is no support for installations running foreman on a separate host with its own database, with a new puppet version storing facts in its own database (storeconfigs or "thin" storeconfigs, or just "fact_terminus = inventory_active_record"). Puppet 2.6.7+ includes a REST-based Inventory Service API (http://docs.puppetlabs.com/guides/inventory_service.html), which is now the suggested method for external applications to obtain facts (in fact, this is used by Puppet Dashboard itself).
It would be nice if there were support for this API as a method of obtaining facts. It could even be linked to the "puppetmaster" selection for hosts/hostgroups. Would probably be best to trigger this after a report is received.