puppetboard
puppetboard copied to clipboard
More columns in views like Reports, Nodes...
So, if I want more columns displayed in (for instance) the "Reports" view - do I have to manually edit app.py, or is there another supported way of displaying more information?
Hi @jby ! As of now - yes, that's the only way. But it should be easy to make a PR with making any view configurable with a method similar to the one used for customizing Inventory view - see http://github.com/voxpupuli/puppetboard/blob/01f0f3fc7177677665a334542d88c39b5e3b859b/puppetboard/app.py#L303-L325 .
I too am interested in adding additional columns. We have a custom fact for cnames which are more meaningful than the certnames/hostnames. I was hoping I wouldn't have to fork the code to provide an additional column. I'm not a python guy, but if it is 'easy'... perhaps someone would be so kind and address before another 3 years pass? :)