sensu/sensu-chef — pull request #24 by decklin (2012-05-02 15:30:18+00:00)
Title: Json file

This does two things:

- Switches the actual config.json resource to a JsonFile, which is just a subclass of File that expects `content` to be a Hash and compares equality of the loaded JSON object instead of the serialization (which depends on sorting)

- Wraps that in a sensu_config resource, so that other cookbooks don't need to know how it's implemented. When the json_file changes, it notifies the sensu_config, so that it can notify whatever.

Orderedhash is no longer needed, so it's been removed (didn't see any metadata regarding it, maybe I missed it?)

I've only tested this with our customized cookbook (eng-2286-json-file over on the Sonian side), so this definitely needs some review first.