/puppet-oracle-java

Installs Oracle JDK or JRE 1.6 or 1.7.

Primary LanguagePuppet

puppet-oracle-java

Installs Oracle JDK or JRE 1.6; 1.7 or 1.8. Tested on Ubuntu 12.04, Debian 7, and CentOS 6.4 and Mac OSX using Puppetry.

Install

  • Clone module to your puppetmaster or masterless modules directory.
  • Change name of module from puppet-oracle-java to oracle_java
  • Download jdk or jre 1.6; 1.7 or 1.8 from Oracle and place the package in the oracle_java/files directory (do not rename).

Basic Usage

For a quick install, edit the params in the init.pp file and simply add ‘include oracle_java’ to your manifest.

Custom Java Usage

  • Declare the class:

class { "oracle_java":
    type      => "type",
    arc       => "arc,
    version   => "version",
    os        => "os", 
}

It is import that you match the params with the java package you downloaded from oracle.

For example, if you downloaded the jdk-7u21-linux-x64.tar.gz, your params should be:

type => “jdk”
arc => “x64“
version => “7u21“
os => “linux”

###Contrib

Fork and request!