add missing jpackage cookbook #199

Closed
wants to merge 1 commit into
from

2 participants

@bleything

The maven cookbook depends on jpackage, but the jpackage cookbook is missing. This commit adds the latest version from the opscode cookbook repo.

[Wed, 21 Mar 2012 23:33:39 +0000] DEBUG: Chef::Exceptions::CookbookNotFound: Cookbook jpackage not found. If you're loading jpackage from another cookbook, make sure you configure the dependency in your metadata
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/cookbook/cookbook_collection.rb:38:in `initialize'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/mash.rb:77:in `call'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/mash.rb:77:in `default'
/usr/lib/ruby/gems/1.8/gems/ohai-0.6.10/lib/ohai/mash.rb:77:in `default'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/mixin/language_include_recipe.rb:39:in `[]'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/mixin/language_include_recipe.rb:39:in `include_recipe'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/mixin/language_include_recipe.rb:27:in `each'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/mixin/language_include_recipe.rb:27:in `include_recipe'
/vagrant/dev_setup/cookbooks/maven/recipes/default.rb:24:in `from_file'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/cookbook_version.rb:578:in `load_recipe'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/mixin/language_include_recipe.rb:40:in `include_recipe'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/mixin/language_include_recipe.rb:27:in `each'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/mixin/language_include_recipe.rb:27:in `include_recipe'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/run_context.rb:72:in `load'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/run_context.rb:69:in `each'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/run_context.rb:69:in `load'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/client.rb:195:in `setup_run_context'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/client.rb:159:in `run'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/application/solo.rb:192:in `run_application'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/application/solo.rb:183:in `loop'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/application/solo.rb:183:in `run_application'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/../lib/chef/application.rb:67:in `run'
/usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/chef-solo:25
/usr/bin/chef-solo:19:in `load'
/usr/bin/chef-solo:19
[Wed, 21 Mar 2012 23:33:39 +0000] FATAL: Chef::Exceptions::CookbookNotFound: Cookbook jpackage not found. If you're loading jpackage from another cookbook, make sure you configure the dependency in your metadata
```Dear Cloud Foundry contributor,

<p>
If you are reading this message, it means you submitted a pull request in the
Cloud Foundry GitHub repository.
</p>

<p>
First of all, thanks! We really appreciate your participation.
</p>

<p>
Recently we made some changes in how we are verifying and reviewing open source
contributions like yours. In addition, we changed the way we can expose our
internal development in real-time. The changes are exciting, as they allow all
our staff to collaborate seamlessly with you, which increases our mutual
velocity and gives the community a bigger stake in our direction.
</p>

<p>
The Cloud Foundry team uses Gerrit, a code review tool that originated in the
Android Open Source Project. We also use GitHub as an official mirror, though
all pull requests are accepted via Gerrit.
</p>

<p>
Follow these steps to make a contribution to any of our open source
repositories:
</p>

1. Complete our CLA Agreement for
   [individuals](http://www.cloudfoundry.org/individualcontribution.pdf) or
   [corporations](http://www.cloudfoundry.org/corpcontribution.pdf).
1. Sign up for an account on our public Gerrit server at
   http://reviews.cloudfoundry.org/.
1. Create and upload your public SSH key in your Gerrit account profile.
1. Set your name and email:

                git config --global user.name "Firstname Lastname"
                git config --global user.email "your_email@youremail.com"

1. Install our gerrit-cli gem:

                gem install gerrit-cli

1. Clone the Cloud Foundry repo:
   _Note: to clone the BOSH repo, or the Documentation repo, replace
   `vcap` with `bosh` or `oss-docs`_

                gerrit clone ssh://reviews.cloudfoundry.org:29418/vcap
                cd vcap

1. Make your changes, commit, and push to gerrit:

                git commit
                gerrit push

<p>
Once your commits are approved by our Continuous Integration Bot (CI Bot) as
well as our engineering staff, return to the Gerrit interface and MERGE your
changes. The merge will be replicated to GitHub automatically at
https://github.com/cloudfoundry. If you get feedback on your submission, we
recommend squashing your commit with the original change-id. See the squashing
section here for more details: https://help.github.com/rebase.
</p>
@bleything

It turns out that the opscode jpackage cookbook fails on centos, so I've replaced it with one that works.

For what it's worth, the opscode package is only necessary (and, in fact, only does anything) on RHEL-based distros.

@bleything

Actually, this is more complicated. I need to dig in further. Merging this will get most of the way there, but it still won't work on Centos 6.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment