| Currently, there is feature to block groups of facts via 'blocklist' facter.conf option. But there is no feature to whitelist some facts. Practical example: I have XEN and KVM hypervisors. Networks on them are configured with network module. For bonding I need to gather macaddress_eth0 and macaddress_eth1 info to use it in config files. But with this facts, facter collects all the macaddresses of virtual servers on hypervisor, like:
So now I can't disable macadress_* facts totally, because I need some of them. And there is no option to block group and whitelist certain facts from blocked group, or maybe block with regex (in my case all except macaddress_eth*). |