cookbook 'karaf', '= 0.2.1'
karaf (13) Versions 0.2.1 Follow0
Installs/Configures karaf
cookbook 'karaf', '= 0.2.1', :supermarket
knife supermarket install karaf
knife supermarket download karaf
karaf
This cookbook installs Apache Karaf.
Usage
Override attributes with your desired values and include the karaf
recipe.
Requirements
- java cookbook
- ark cookbook
Platform
- Tested on Fedora 22 and CentOS 6.5
Attributes
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 http://archive.apache.org/dist/karaf/<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 totrue
-
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 totrue
-
node['java']['oracle']['accept_oracle_download_terms']
- Defaults totrue
Contributing
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
ark >= 0.0.0 |
java >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
karaf CHANGELOG
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
0.1.0
- Jason Capriotti - Initial release of karaf
Foodcritic Metric
0.2.1 passed this metric
0.2.1 passed this metric