Installs Java 8 and unlimited key length security policy files..
# Install the default version of both the JDK and JRE
include java
You can customise this module by configuring some optional class parameters. Usually you'd do this via Hiera, but you could also explicitly pass those parameters in puppet code like class { 'java': update_version => '25', }
.
base_download_url
: A base path from which the JRE and JDK packages should be downloaded. For example, if you specifyhttps://myorg.example/dist/java
, this module would download the jre fromhttps://myorg.example/dist/java/jre-8u25-macosx-x64.dmg
.
All of these parameters have sensible defaults, and are provided if you need more control.
Example hiera data in YAML:
java::base_download_url: 'https://myorg.example/dist/java'
boxen
Write code. Run script/cibuild
to test it. Check the script
directory for other useful tools.