bmarini/health_inspector — pull request #13 by quandrum (2012-09-26 17:51:45+00:00)
Title: Cookbook checksum comparison check

I've added a new check to the cookbook check. This will pull the cookbook manifest from the server, and go file by file through the cookbook on the repo comparing the servers checksum to a checksum generated by chef on the fly for the files in the repo.

This is a good check to see if someone is uploading cookbooks to the chef server without committing them to the repo.

Also note, I'm using the Chef::REST class to retrieve information from the server. I have moved this into base, believing it might improve performance in the long run to replace the knife calls in spawned shells with a Chef::REST call.