commit | 5572de3407dc5082bc8db4f6d4e68e8922ef1751 | [log] [tgz] |
---|---|---|
author | Chris Lambertus <clambertus@gmail.com> | Mon Jan 09 17:17:58 2017 -0800 |
committer | Chris Lambertus <clambertus@gmail.com> | Mon Jan 09 17:17:58 2017 -0800 |
tree | 3a8914b16ea340f427afe0b8c29d9b964c49ef71 | |
parent | 368f10d9c5f9c334e1eb9d9ea043562581b38b8b [diff] |
force apt-get update before installing packages
This module manages Oracle Java 8 and Java 7 with Unlimited JCE
This module has been tested against Puppet 3.8 on Ubuntu 14.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.