If you get the preceding error, your cookbook only has a
metadata.json file. Make sure that you delete it and create a valid
metadata.rb, file instead.
I didnt get that error but I dont have the metadata.rb file and the next steps with knife fail.
Share this highlighthttp://www.safaribooksonline.com/a/chef-cookbook-/13110003/