Forge Home

bi_java

Puppet management for Java

9,015 downloads

8,744 latest version

3.1 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 0.0.3 (latest)
  • 0.0.2
released Jun 3rd 2015
This version is compatible with:
  • ,

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'bi-bi_java', '0.0.3'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add bi-bi_java
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install bi-bi_java --version 0.0.3

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

bi/bi_java — version 0.0.3 Jun 3rd 2015

Table of Contents

  1. Overview
  2. Module Description - What the module does and why it is useful
  3. Setup - The basics of getting started with java
  4. Usage - Configuration options and additional functionality
  5. Reference - An under-the-hood peek at what the module is doing and how
  6. Limitations - OS compatibility, etc.
  7. Development - Guide for contributing to the module

Overview

This modules has to main purposes:

  • Manage the static data associated with the java package (including OpenJDK, Oracle JDK, etc...)
  • Provide a wrapper around specific versions of java

Module Description

The static data associated with the binaries contained in the java package are stored in a puppet module data Hiera store. This allows higer level Hiera lookups to override binary paths, configuration files, etc...

Setup

puppet module install bi-bi_java -i /path/to/moudles

Usage

Consistent static data

To use the statc data (for instance in another class or define):


define my_define() {
    require bi_java::openjdk::jdk1_7
    ...
    notify("The location of the java.conf file $bi_java::openjdk::jdk1_7::java_conf")
}

This allows an end user a consistent location to obtain the binary paths of executables that will be updated via the module data for each platform (or overridden for custom binaries).

Executable wrappers

The binary wrapper for useful programs contained in java for example:


define my_define() {
    require bi_java::openjdk::jdk1_7
    # Now this version of java is installed
}

Reference

For more information see the projects wiki.

Limitations

Development

For more information see the projects wiki.