Version information
released Apr 27th 2015
This version is compatible with:
Start using this module
Add this module to your Puppetfile:
mod 'darkmantle-java', '1.0.2'
Learn more about managing modules with a PuppetfileDocumentation
darkmantle/java — version 1.0.2 Apr 27th 2015
Darkmantle Puppet: Java
This is the Java module in my series of WebDev Puppet Configurations
Dependencies
Installation
Make sure you install the dependencies above!
Puppet
puppet module install darkmantle-java
Git Submodule
git submodule add https://github.com/darkmantle/puppet-java.git modules/java
Usage
Create a manifest that has the following code:
Exec {
path => ["/usr/bin", "/bin", "/usr/sbin", "/sbin", "/usr/local/bin", "/usr/local/sbin"]
}
# basic install (version 7)
include java
# optional: if you want a lower or higher version (5,6 or 8 for example) and you know its available in the repository
# under the default name of openjdk-*-jdk then you can use this method
class { 'java:' $version => '8' }
Dependencies
- puppetlabs-apt (>=1.6.0)