O'Reilly logo
  • Matthew Fiereck thinks this is interesting:

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.

From

Cover of Chef Cookbook - Third Edition

Note

I didnt get that error but I dont have the metadata.rb file and the next steps with knife fail.