How do I tell puppet apply to always store the freshest facts in PuppetDB?
We're running a masterless Puppet setup where
puppet apply is run regularly (via MCollective) on a large-ish number of nodes. We want to use PuppetDB for exported resources, as a queryable inventory and report store.
With our initial configuration, the facts for a new node were collected from
facter and stored in the PuppetDB during the first run of
puppet apply. Subsequent runs would take the stale facts stored in the PuppetDB, however.
As suggested in the http://docs.puppetlabs.com/puppetdb/1.2/connect_puppet_apply.html#manage-routesyaml (PuppetDB documentation), we created a
routes.yaml file with the following content ... (more)