Jira (FACT-3070) Facter whitelist

2 views
Skip to first unread message

Vladislav Pozniak (Jira)

unread,
Sep 1, 2021, 6:32:02 AM9/1/21
to puppe...@googlegroups.com
Vladislav Pozniak created an issue
 
Facter / Improvement FACT-3070
Facter whitelist
Issue Type: Improvement Improvement
Assignee: Unassigned
Created: 2021/09/01 3:31 AM
Priority: Normal Normal
Reporter: Vladislav Pozniak

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:

macaddress_dxvkvottfafeuf ac:1f:6b:bd:65:9a
macaddress_eshezzolxuwgui fe:16:3e:ca:52:56
macaddress_eth0 ac:1f:6b:bd:65:98
macaddress_eth0.505 ac:1f:6b:bd:65:98

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*).

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages