Forge Home

java

Oracle and/or OpenJDK Java Puppet Module

9,513 downloads

9,513 latest version

3.4 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.1.1 (latest)
released Apr 27th 2014

Start using this module

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

Add this module to your Puppetfile:

mod 'meeh-java', '0.1.1'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add meeh-java
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install meeh-java --version 0.1.1

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

meeh/java — version 0.1.1 Apr 27th 2014

Java Puppet Module

This module manages Oracle/OpenJDK Java.

Supported Oracle Java versions: 6, 7 and 8 and OpenJDK 6/7.

This module has been tested against puppet 3.4 on Ubuntu 12.04 and Debian 6/7. (It currently support only Debian and Ubuntu as well.)

Pull requests to add support for other operating systems are welcome.

NOTE: This mode may only be used if you choose OpenJDK or you agree to the Oracle license: http://www.oracle.com/technetwork/java/javase/terms/license/

Usage

# It defaults to Oracle Java 8

# Common
include java

# OracleJDK
class {'java': $java_version => '8', $install_oracle_java = true ;}

# OpenJDK
class {'java': $java_version => '7', $install_oracle_java = false ;}

# Oracle, JDK 1.7, Debian only!, Set another version for compability.
class {'java': $java_version => '7', $install_oracle_java => true, package_version='raring' ;}

Improvements since fork

  • Support for multiple versions.
  • Support for both Oracle and OpenJDK.

Author

Contributors:

Donate

BTC: 1MeehoFybzJ41Yv88VMRqXSa2T9TpGfPhR ANC/XPM: AMeehr1AtpyMaZKVLv4Tb1wdRtVfx3wDj3 LTC: LMeehUw9NgheMbNdaGPaz3m5MVuQpJeagX PPC: PMeehToGoSPVSzfq1SnH4npoRUQyqKDRsM