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

RSS

java-service (9) Versions 1.2.0

Library cookbook which provides resources for configuring a Java service.

Berkshelf/Librarian
Policyfile
Knife
cookbook 'java-service', '= 1.2.0'
cookbook 'java-service', '= 1.2.0', :supermarket
knife cookbook site install java-service
knife cookbook site download java-service
README
Dependencies
Changelog
Quality

java-service cookbook

Build Status Code Quality Cookbook Version License

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

yum-epel ~> 0.6
yum-centos ~> 0.4
rc ~> 1.5
poise-service ~> 1.0
poise ~> 2.2
libarchive ~> 0.6
java ~> 1.39
apt ~> 2.9

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.2.0 passed this metric