puppetlabs / puppetdb

Centralized Puppet Storage
http://docs.puppetlabs.com/puppetdb
Apache License 2.0
301 stars 226 forks source link

(PE-36947) Allow for Puppet::Util::Puppetdb to flush config #3887

Closed jpartlow closed 1 year ago

jpartlow commented 1 year ago

This provides a hook for flushing the Puppetdb classes @config variable. This in turn means the next time Puppetdb.config is callled it will reload the configuration file. This becomes important if in some command using this utility, we have accessed the Puppetdb.config, then go on to update puppet's puppetdb.conf with new information, and need to then take additional operations with Puppetdb.config that should be based on the new configuration state.

jpartlow commented 1 year ago

Oops, need to rebase this against 7.x.

jpartlow commented 1 year ago

I kicked the jenkins test. Query timeout tests continue to fail on macos11.