puppetdb icon indicating copy to clipboard operation
puppetdb copied to clipboard

Add configuration options to filter facts out in puppetdb termini

Open traylenator opened this issue 1 year ago • 5 comments

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

traylenator avatar Sep 11 '24 15:09 traylenator

CLA assistant check
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.

CLAassistant avatar Sep 11 '24 15:09 CLAassistant

CLA is already signed due to agreement between puppetlabs and CERN IT.

traylenator avatar Sep 11 '24 15:09 traylenator

Can one of the admins verify this patch?

puppetlabs-jenkins avatar Sep 11 '24 15:09 puppetlabs-jenkins

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.

traylenator avatar Sep 11 '24 15:09 traylenator

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.

djuarezg avatar Sep 08 '25 14:09 djuarezg