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

Select Status


java-service (9) Versions 1.2.0

Library cookbook which provides resources for configuring a Java service.

cookbook 'java-service', '= 1.2.0', :supermarket
cookbook 'java-service', '= 1.2.0'
knife supermarket install java-service
knife supermarket download java-service
Quality 100%

java-service cookbook

Build Status
Code Quality
Cookbook Version

Library cookbook which provides resources for configuring a Java

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 ''

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.
maven_artifact 'spoon' do
version '0.2.0-SNAPSHOT'
group_id ''
repositories ''
destination '/usr/local/share/java'

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.


Foodcritic Metric

1.2.0 passed this metric