Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Missing depends on java #9

breerly opened this Issue · 2 comments

2 participants


Looks like a depends for java in metadata.rb is missing.

I would expect this line at the bottom of metadata.rb

depends "java"

Not having this while installing the cookbook results in the following role:

FATAL: Saving node information to /var/chef/cache/failed-run-data.json
[2013-03-26T23:13:23+00:00] ERROR: Exception handlers complete
Chef Client failed. 4 resources updated
[2013-03-26T23:13:23+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
[2013-03-26T23:13:23+00:00] FATAL: Chef::Exceptions::CookbookNotFound: Cookbook java not found. If you're loading java from another cookbook, make sure you configure the dependency in your metadata

Feel free to submit a pull request


Perhaps depends "java" >= 1.6 is better.

@michaelklishin michaelklishin closed this issue from a commit
Michael Klishin Specify java dependency in metadata.rb
Fixes #9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.