cookbook 'java-service', '= 1.1.0'
java-service (9) Versions 1.1.0 Follow1
Library cookbook which provides resources for configuring a Java service.
cookbook 'java-service', '= 1.1.0', :supermarket
knife supermarket install java-service
knife supermarket download java-service
java-service cookbook
Library cookbook which provides resources for configuring a Java
service.
This library cookbook provides primitives to make it simple to deploy
Java services. Using the java_service resource configuration is
fast and simple; the best part is that it works with the native
service management of the operating system!
Basic Usage
THe whole point of this cookbook is to provide a dead simple way to
deploy Java services to an instance. The first resource installs and
configures a Java service as a system service. This has an advantage
of being portable based on the operating systme. The second resource
allows for easy management of the
Java properties configuration format.
Enabling and Starting a Java Service
java_service 'host-info' do artifact_version '0.2.0-SNAPSHOT' artifact_group_id 'com.bloomberg.inf' end
Downloading Maven Artifacts
If you're looking to download artifacts from a Maven repository there
is the maven_artifact resource which makes it easy to do so. This
resource shells out to the maven_execute resource and utilizies
the maven dependency plugin to recursively resolve all
dependencies of the specified artifact.
ruby
maven_artifact 'spoon' do
version '0.2.0-SNAPSHOT'
group_id 'com.bloomberg.inf'
repositories 'http://clojars.org/repo'
destination '/usr/local/share/java'
end
Dependent cookbooks
apt ~> 2.9 |
java ~> 1.39 |
libarchive ~> 0.6 |
poise ~> 2.2 |
poise-service ~> 1.0 |
rc ~> 1.5 |
yum-centos ~> 0.4 |
yum-epel ~> 0.6 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Change Log
All notable changes to this project will be documented in this file.
This project adheres to Semantic Versioning.
Unreleased
Foodcritic Metric
1.1.0 passed this metric
1.1.0 passed this metric