Skip to content

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

Open
@sharewax

Description

@sharewax

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions