cookbook 'jar_deployment', '= 0.1.1'
The jar_deployment cookbook has been deprecated
Author provided reason for deprecation:
The jar_deployment cookbook has been deprecated and is no longer being maintained by its authors. Use of the jar_deployment cookbook is no longer recommended.
jar_deployment (2) Versions 0.1.1 Follow1
Installs/Configures jar_deployment
cookbook 'jar_deployment', '= 0.1.1', :supermarket
knife supermarket install jar_deployment
knife supermarket download jar_deployment
Description
Installs/Configures jar_deployment
Requirements
Platform:
- Centos (>= 6.6)
Cookbooks:
- java (~> 1.29)
Attributes
-
node['java']['install_flavor']
- Java family to install. Defaults toopenjdk
. -
node['java']['jdk_version']
- Java version to install. Defaults to8
. -
node['java']['openjdk']['accept_oracle_download_terms']
- Accept oracle download terms/conditions. Defaults totrue
.
Recipes
- jar_deployment::default
Resources
- jar_deployment - This resource facilitates jar deployment.
jar_deployment
This resource facilitates jar deployment.
Actions
- deploy: Deploys jar. Default action.
- delete: Deletes deployed jar.
Attribute Parameters
- deploy_directory: directory to deploy the jar Defaults to <code>"/opt/application"</code>.
- log_directory: directory to deploy the jar Defaults to <code>"/var/log"</code>.
- jar_location: location of the jar to deploy
- jar_checksum: checksum of jar to deploy
- jar_args: Defaults to <code>{"--server-port"=>8080}</code>.
- jar_user: user to deploy and run jar with Defaults to <code>"root"</code>.
Examples
# An example of deploying a service
jar_deployment 'service_name' do
deploy_directory '/opt/application'
jar_location 'http://example.com/repo/jar/application.jar'
jar_checksum '45hj35jk34h53j4h5k'
jar_args {
'--server-port': 8080
}
jar_user 'root'
action :deploy
end
# An example of deleting a deployed service
jar_deployment 'service_name' do
action :delete
end
License and Maintainer
Maintainer:: robertnorthard (robertnorthard@googlemail.com)
License:: All rights reserved
Dependent cookbooks
java ~> 1.29 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
jar_deployment CHANGELOG
This file is used to list changes made in each version of the jar_deployment cookbook.
0.1.1
- Robert Northard - Added source/issues URL to cookbook metadata.
0.1.0
- Robert Northard - Initial release of jar_deployment
Check the Markdown Syntax Guide for help with Markdown.
The Github Flavored Markdown page describes the differences between markdown on github and standard markdown.
Foodcritic Metric
0.1.1 passed this metric
0.1.1 passed this metric