Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms


karaf (13) Versions 0.2.0

Installs/Configures karaf

cookbook 'karaf', '= 0.2.0'
cookbook 'karaf', '= 0.2.0', :supermarket
knife cookbook site install karaf
knife cookbook site download karaf
Quality 100%


This cookbook installs Apache Karaf.


Override attributes with your desired values and include the karaf recipe.


  • java cookbook
  • ark cookbook


  • Tested on Fedora 22 and CentOS 6.5


See attributes/default.rb for default values.

  • node['karaf']['version'] - The version to install, defaults to '3.03'
  • node['karaf']['url'] - Overrides the URL to download the karaf from. Otherwise<version>/apache-karaf-<version>.tar.gz" is used.
  • node['karaf']['install_path'] - The path to install to, defaults to '/usr/local'
  • node['karaf']['install_java'] - Whether or not to install Java, defaults to true
  • node['karaf']['service_user'] - The user to run Karaf as, not set by default.
  • node['karaf']['feature_repos'] - A hash of feature repos to install. Allows you to specify the repository name as the key and version as the value. Defaults to 'hawtio' / '1.4.51'.
  • node['karaf']['features'] - An array of the features to install. Defaults to 'hawtio'.

The following attributes control the default Java cookbook settings

  • node['java']['install_flavor'] - Defaults to 'oracle'
  • node['java']['jdk_version'] - Defaults to '7'
  • node['java']['set_etc_environment'] - Defaults to true
  • node['java']['oracle']['accept_oracle_download_terms'] - Defaults to true


TODO: (optional) If this is a public cookbook, detail the process for contributing. If this is a private cookbook, remove this section.

e.g. 1. Fork the repository on Github 2. Create a named feature branch (like add_component_x) 3. Write your change 4. Write tests for your change (if applicable) 5. Run the tests, ensuring they all pass 6. Submit a Pull Request using Github

License and Authors

Authors: Jason Capriotti

Dependent cookbooks

java >= 0.0.0
ark >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.


This file is used to list changes made in each version of the karaf cookbook.

0.2.0 - 1/25/2016

  • Jason Capriotti - Add support for specifying user with which to run service


  • Jason Capriotti - Initial release of karaf

Foodcritic Metric

0.2.0 passed this metric