Reputation: 108
The issue I have is that there are cookbooks that exist on github with the same name as a cookbook on the chef cookbook site (monit is the cookbook). I am write a cookbook and want to use the github version, however berkshelf pulls the version from the chef site when I include the metadata keyword in my Berksfile. I tried to override this in the Berksfile. here is the content of mt berksfile:
site :opscode
cookbook "monit" , git: "https://github.com/phlipper/chef-monit.git"
metadata
Upvotes: 2
Views: 1226
Reputation: 61
Add the cookbook in metadata file in last and name of cookbook should be in single quotes , below is the example
depends 'test'
Upvotes: 0
Reputation: 26997
This is a known issue in Berkshelf.
Refs:
Upvotes: 1