commit | 16dca7817bc08bdffc98e5d2499608ed86766dd9 | [log] [tgz] |
---|---|---|
author | John <john@andrunas.net> | Mon Apr 08 17:28:15 2019 -0700 |
committer | John <john@andrunas.net> | Mon Apr 08 17:28:15 2019 -0700 |
tree | 17a69fcd27fc8b2bdd9e361e3ce108183dcf22e8 | |
parent | 410d40c5d24d5e0a7ed373450a7a7e75ec00efe0 [diff] |
changing class name back to just oraclejava
This module manages Oracle Java 8 and Java 7 with Unlimited JCE
This module has been tested against Puppet 6.4 on Ubuntu 18.04
Pull requests welcome
NOTE: This module may only be used if you agree to the Oracle license: http://www.oracle.com/technetwork/java/javase/terms/license/
include oraclejava::install
or
class { 'oraclejava::install': }
The default behavior is to install java8 with unlimited JCE. It will not automatically upgrade. If you would like to upgrade java8, you can use the ensure
parameter:
class { 'oraclejava::install': ensure => 'latest' }
If you do not want unlimited JCE specify false:
class { 'oraclejava::install': ensure => 'latest' unlimited_jce => false; }
Hiera example:
classes:
oraclejava::install::unlimited_jce: true oraclejava::install::version: ‘7’
Keep in mind that the webupd8 team's java8 package does not keep historical versions of the java installer, so you cannot specify a specific version of java to install at this time.