opscode/chef — pull request #2345 by sethvargo (2014-11-03 14:51:22+00:00)
Title: Allow knife to install cookbooks with metadata.json

Previously `knife cookbook site install` would only install cookbooks that have a metadata.rb. This has a number of problems, mainly that compiled metadata is supported elsewhere in Chef.

This commit adds support for parsing the metadata.json, even though the metadata.rb is still preferred (since that's what the rest of Chef does).

Refs: https://github.com/sethvargo/stove/pull/59

/cc @nathenharvey