Ask Your Question

Facter collects facts even from not included modules during run

asked 2018-09-09 10:52:46 -0600

chic_cat gravatar image

Hello, Is there a way to prevent facter to collect all facts from ./modules directory? We have ~1000 facts now for each host (~4000 hosts) and want to cleanup I followed the official documentation But it didn't work out.


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-09-10 08:58:40 -0600

DarylW gravatar image

Until the catalog is compiled, it won't know what modules are actually referenced, so it always pulls in all facts from all modules in your environment. The only way that I know to use a subset of facts is to use different 'environments' that don't contain all of the modules

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2018-09-09 10:52:46 -0600

Seen: 24 times

Last updated: Sep 09