Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

facts-blocklist doesn't work as expected with modern facts (hash structure). #3975

Open
sharewax opened this issue May 7, 2024 · 0 comments

Comments

@sharewax
Copy link

sharewax commented May 7, 2024

Describe the Bug

I'm trying to reduce database size and not to store facts which are not needed in puppetdb. For example - info in networking.interfaces for dynamic/virtual links (calico, veth, docker etc). Currently it's impossible to block it with current filters.
I have in config for example:

facts-blocklist-type = regex
facts-blocklist =  networking.interfaces.cali.*, networking.interfaces.veth.*, networking.interfaces.docker.*, networking.interfaces.macvtap.*, networking.interfaces.vnet.*, networking.interfaces.tunl.*

But this facts are still present in puppetdb. I've explained a little bit more in puppetlabs/facter#2713

Expected Behavior

I would like to have possibility to exclude storage some facts in puppetdb with modern structure (Hash) with regex support.

Environment

  • Version 7.15.0
  • Platform CentOS7

Additional Context

puppetlabs/facter#2713

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant