curl is a dependency, might belong in Berksfile
mrjcleaver opened this issue · 1 comments
I did an install from git (as a knife cookbook site install omits the Berksfile).
Until I added 'curl' to my Berkfile, 'berks upload' refused to complete.
https://botbot.me/freenode/chef/2014-12-31/?msg=28605368&page=6
Regards, M.
Hello @mrjcleaver -- this cookbook doesn't actually depend on the curl cookbook and doesn't include any recipes or reference anything from the curl cookbook. It doesn't make sense for this cookbook (elkstack) to declare a dependency on it.
Also, berkshelf does not look into Berksfiles in dependencies. It wouldn't help for me to add an entry into Berksfile of this project, as Berkshelf only looks at your wrapper cookbook for a single Berksfile. It doesn't resolve any nested Berksfiles.
You're probably seeing that this cookbook depends on the logstash cookbook which declares a dependency on the curl cookbook and then uses it.
Berkshelf normally searches Supermarket, and would have found the curl cookbook there and had no trouble (and wouldn't need a specific Berksfile entry normally). Are you missing these lines in your Berksfile?
source "https://supermarket.chef.io"
metadata
Hope this helps.