Version information
released Jul 1st 2013
Start using this module
Add this module to your Puppetfile:
mod 'signasol-jrockit', '0.2.0'
Learn more about managing modules with a PuppetfileDocumentation
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',
}
This file is part of Puppet JRockit module. Puppet JRockit module is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Puppet JRockit module is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Puppet JRockit module. If not, see <http://www.gnu.org/licenses/>.