When installing / downloading cookbooks from Chef's Supermarket, some cookbooks do include a metadata.json file, however do not include a metadata.rb file.
Without the metadata.rb file a user is unable to upload the cookbook to the chef server. My question is two fold:
- Is there a way to generate a proper metadata.rb file for the project if a downloaded / installed cookbook does not include one?
- If there is a way to upload the cookbook to the chef server when there is no metadata.rb?
Here's the version of ChefDK running on my workstation:
- Chef Development Kit Version: 1.3.43
- chef-client version: 12.19.36
- delivery version: master (dd319aa632c2f550c92a2172b9d1226478fea997)
- berks version: 5.6.4
- kitchen version: 1.16.0
Here's the commands and cookbook I'm using to get the cookbook from Supermarket:
- knife cookbook site download jenkins
- knife cookbook site install jenkins
URL: https://supermarket.chef.io/cookbooks/jenkins#readme
Thanks for any help. I haven't been able to find much in Chef's documentation on working with cookbooks that do not have a metadata.rb file included. From what I've read, every cookbook should have a metadata.rb file located in each cookbook directory.