Add configuration options to filter facts out in puppetdb termini
This changeset adds two configuration options used by the facts PuppetDB indirector:
- fact_names_blocklist
- fact_names_blocklist_regex
They can be used to configure a list of fact names that will never be sent to PuppetDB, based on exact fact names or regular expressions.
This MR obsoletes - https://github.com/puppetlabs/puppetdb/pull/2634
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.
CLA is already signed due to agreement between puppetlabs and CERN IT.
Can one of the admins verify this patch?
I realise since this patch was originally written PuppetDB itself can be configured to block facts however we have been running this way for years and dropping the facts earlier makes sense.
For anyone that ends up finding this PR as well. PuppetDB itself cannot be configured to block structured facts due to https://github.com/puppetlabs/puppetdb/issues/3975.