Forge Home

jrockit

Oracle JRockit puppet module

10,196 downloads

9,856 latest version

2.3 quality score

Version information

  • 0.2.0 (latest)
  • 0.1.2
  • 0.1.1
released Jul 1st 2013

Start using this module

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

Add this module to your Puppetfile:

mod 'signasol-jrockit', '0.2.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add signasol-jrockit
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install signasol-jrockit --version 0.2.0

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

signasol/jrockit — version 0.2.0 Jul 1st 2013

JRockit puppet module

Version updates

  • 0.1.1 Bug fix
  • 0.2.0 Support for local mount to avoid downloading the installer from the master

Installs the jdk and optionally the jre, demos etc.

Installs the jrockit jdk on linux and windows based systems with 64 or 32 bit architecture. The approriate installer must be copied to the files directory of the module; for example jrockit-jdk1.6.0_45-R28.2.7-4.1.0-linux-x64.bin

The module does the following:

  • downloads the installer to the download folder of the puppet agent host
  • performs a silent installation
  • sets the java links in /usr/java ( latest and default )
  • adds to alternatives for linux systems
  • optionally sets JRockit as default java

The default settings are:

  • Demos are not installed
  • Source is not installed
  • The jre is installed
  • The installed version is set as the default

Required settings:

  • Version - must match the version component of filename of the installer
  • x64 - true for 64 bit and false for 32 bit (Solaris/SPARC is not currently supported)

Optional Settings:

  • puppetMountDir - Specify local mountpoint for install files
  • downloadDir - Local directory for installer downloads
  • installDemos - Install demos (default=false)
  • installSource - Install source code (default=false)
  • installJre - Install JRE (default=true)
  • setDefault - Set the installation as default (default=true)

Example usage

include jrockit

jrockit::installrockit {'jrockit-1.6.0_45':
    version       => '1.6.0_45-R28.2.7-4.1.0',
    x64           => 'true',
    downloadDir   =>  "/install/",
    installSource =>  'true',
}