Ask Your Question

Reporting on classes and module use

asked 2016-05-10 11:32:26 -0600

emartinez gravatar image

Hi, over the last couple years the number of classes and modules in our repository has wildly grown but not cleaned up. Any recommendations on reporting what is used, last used? Thanks in advance!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-05-11 22:15:50 -0600

DarylW gravatar image

I believe the collection of tags for your elements in the default puppet reports is a good indication of which modules/classes have been used. Short of grepping your codebase for class/define lines and parsing out their parts and comparing it against' the total set of modules/tags listed in your history, I don't know if there is a good answer for that... I should look into writing up a script to do that!

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



Asked: 2016-05-10 11:32:26 -0600

Seen: 24 times

Last updated: May 11 '16