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

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.

RSS

jar_deployment (2) Versions 0.1.1

Installs/Configures jar_deployment

Policyfile
Berkshelf
Knife
cookbook 'jar_deployment', '= 0.1.1', :supermarket
cookbook 'jar_deployment', '= 0.1.1'
knife supermarket install jar_deployment
knife supermarket download jar_deployment
README
Dependencies
Changelog
Quality 100%

Description

Installs/Configures jar_deployment

Requirements

Platform:

  • Centos (>= 6.6)

Cookbooks:

  • java (~> 1.29)

Attributes

  • node['java']['install_flavor'] - Java family to install. Defaults to openjdk.
  • node['java']['jdk_version'] - Java version to install. Defaults to 8.
  • node['java']['openjdk']['accept_oracle_download_terms'] - Accept oracle download terms/conditions. Defaults to true.

Recipes

  • jar_deployment::default

Resources

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