Ask Your Question
0

Facter collects facts even from not included modules during run

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

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 https://puppet.com/docs/facter/3.11/c... But it didn't work out.

Thanks

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

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

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

Stats

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

Seen: 22 times

Last updated: Sep 09