cookbook 'jar_deployment', '~> 0.2.0'
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.2.0 Follow1
Installs/Configures jar_deployment
cookbook 'jar_deployment', '~> 0.2.0', :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.2.0
- Robert Northard - Added java args parsing to service script.
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.
Collaborator Number Metric
0.2.0 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.2.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.2.0 failed this metric
FC066: Ensure chef_version is set in metadata: jar_deployment/metadata.rb:1
FC085: Resource using new_resource.updated_by_last_action to converge resource: jar_deployment/providers/default.rb:112
FC085: Resource using new_resource.updated_by_last_action to converge resource: jar_deployment/providers/default.rb:140
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.2.0 passed this metric
Testing File Metric
0.2.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.2.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.2.0 failed this metric
0.2.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.2.0 failed this metric
FC066: Ensure chef_version is set in metadata: jar_deployment/metadata.rb:1
FC085: Resource using new_resource.updated_by_last_action to converge resource: jar_deployment/providers/default.rb:112
FC085: Resource using new_resource.updated_by_last_action to converge resource: jar_deployment/providers/default.rb:140
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.2.0 passed this metric
Testing File Metric
0.2.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.2.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.2.0 failed this metric
FC085: Resource using new_resource.updated_by_last_action to converge resource: jar_deployment/providers/default.rb:112
FC085: Resource using new_resource.updated_by_last_action to converge resource: jar_deployment/providers/default.rb:140
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.2.0 passed this metric
Testing File Metric
0.2.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.2.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.2.0 failed this metric
0.2.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number