Skip to content
This repository has been archived by the owner on Jun 21, 2018. It is now read-only.

Commit

Permalink
Add support for Java 8u141 (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
mtron authored and antoineco committed Jul 20, 2017
1 parent ced2dc5 commit b2012f3
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### 2.8.2 (unreleased)

* Add support for Java '8u141'

### 2.8.1

* Add support for Java '8u131'
Expand Down
9 changes: 9 additions & 0 deletions manifests/checksums.pp
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,15 @@

if !$oracle_java::checksum {
case $oracle_java::filename_real {
# 8u141
'jdk-8u141-linux-i586.rpm' : { $md5checksum = '827d5757ca23e32f071af38debc05bdc' }
'jdk-8u141-linux-i586.tar.gz' : { $md5checksum = '016e3389363cce74b2d756b626e949c6' }
'jdk-8u141-linux-x64.rpm' : { $md5checksum = '336e6a9c298416ff4422e30420622e08' }
'jdk-8u141-linux-x64.tar.gz' : { $md5checksum = '8cf4c4e00744bfafc023d770cb65328c' }
'jre-8u141-linux-i586.rpm' : { $md5checksum = '31dd9203bfbadc0a9203b3ddd92bf5c0' }
'jre-8u141-linux-i586.tar.gz' : { $md5checksum = 'a66f26ee7665a499a2511fb470b60140' }
'jre-8u141-linux-x64.rpm' : { $md5checksum = 'd2af8822f0264aa745bb546e4a6253de' }
'jre-8u141-linux-x64.tar.gz' : { $md5checksum = 'dfa2de5305b7b7519cf8a581c8d82fb9' }
# 8u131
'jdk-8u131-linux-i586.rpm' : { $md5checksum = 'ad0ced8cae343a31c55aef3615bc6143' }
'jdk-8u131-linux-i586.tar.gz' : { $md5checksum = 'a6741fd674372366546bd8480be735c7' }
Expand Down
2 changes: 1 addition & 1 deletion manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@

# set to latest release if no minor version was provided
if $version == '8' {
$version_real = '8u131'
$version_real = '8u141'
} elsif $version == '7' {
$version_real = '7u80'
} elsif $version == '6' {
Expand Down
13 changes: 12 additions & 1 deletion manifests/installation.pp
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@

# set to latest release if no minor version was provided
if $version == '8' {
$version_real = '8u131'
$version_real = '8u141'
} elsif $version == '7' {
$version_real = '7u80'
} elsif $version == '6' {
Expand Down Expand Up @@ -119,6 +119,8 @@
case $maj_version {
'8' : {
case $min_version {
'141' : { $buildnumber = '-b15'
$urlcodeoracle = '/336fa29ff2bb4ef291e347e091f7f4a7' }
'131' : { $buildnumber = '-b11'
$urlcodeoracle = '/d54c1d3a095b4ff2b6607d096fa80163' }
'121' : { $buildnumber = '-b13'
Expand Down Expand Up @@ -225,6 +227,15 @@
if !$checksum {
#-- start checksum --#
case $filename_real {
# 8u141
'jdk-8u141-linux-i586.rpm' : { $md5checksum = '827d5757ca23e32f071af38debc05bdc' }
'jdk-8u141-linux-i586.tar.gz' : { $md5checksum = '016e3389363cce74b2d756b626e949c6' }
'jdk-8u141-linux-x64.rpm' : { $md5checksum = '336e6a9c298416ff4422e30420622e08' }
'jdk-8u141-linux-x64.tar.gz' : { $md5checksum = '8cf4c4e00744bfafc023d770cb65328c' }
'jre-8u141-linux-i586.rpm' : { $md5checksum = '31dd9203bfbadc0a9203b3ddd92bf5c0' }
'jre-8u141-linux-i586.tar.gz' : { $md5checksum = 'a66f26ee7665a499a2511fb470b60140' }
'jre-8u141-linux-x64.rpm' : { $md5checksum = 'd2af8822f0264aa745bb546e4a6253de' }
'jre-8u141-linux-x64.tar.gz' : { $md5checksum = 'dfa2de5305b7b7519cf8a581c8d82fb9' }
# 8u131
'jdk-8u131-linux-i586.rpm' : { $md5checksum = 'ad0ced8cae343a31c55aef3615bc6143' }
'jdk-8u131-linux-i586.tar.gz' : { $md5checksum = 'a6741fd674372366546bd8480be735c7' }
Expand Down
2 changes: 2 additions & 0 deletions manifests/javalist.pp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
case $oracle_java::maj_version {
'8' : {
case $oracle_java::min_version {
'141' : { $buildnumber = '-b15'
$urlcodeoracle = '/336fa29ff2bb4ef291e347e091f7f4a7' }
'131' : { $buildnumber = '-b11'
$urlcodeoracle = '/d54c1d3a095b4ff2b6607d096fa80163' }
'121' : { $buildnumber = '-b13'
Expand Down

0 comments on commit b2012f3

Please sign in to comment.