I know no direct access from chef server to this, the way we do use is a report handler to populate a DB and then have an interface giving run details with cookbook versions.
There's an exemple ont he doc here: http://docs.chef.io/handlers.html#cookbook-versions
I did adapt an old dashboard named Cuisine (but we don't use it anymore), it's unclean code and I've not done a correct installation cookbook. I may update it on github if you wish to have a look at it and at it's corresponding handler.
Le 2015-02-03 17:03, Roman Naumenko a écrit :
Hi,
Does chef server has capabilities to generate report of environment status? Was surprised to see it's not so easy to generate.
I'm looking to get things like list of nodes with the particular cookbook versions, for example:cookbook version node statuscb1 1.2.4 linux1 cleancb1 1.2.4 linux5 failedcb_base 1.0.1 linux2 failedcb_base 1.0.1 linux4 cleancb_base 1.0.2 linux5 cleancb_base 1.0.2 linux6 cleanand so on
It has to be generated in shell since the web-interface is pretty much useless.
I looked at few plugins like lastrun, knife-audit but none is working with versions.
Thanks,--Roman
Archive powered by MHonArc 2.6.16.