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 8u144 (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
mtron authored and antoineco committed Sep 26, 2017
1 parent db9f45f commit 33285f7
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 5 deletions.
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 {
# 8u144
'jdk-8u144-linux-i586.rpm' : { $md5checksum = 'eb35a77bcbd2466d9c96142e5a0d9b87' }
'jdk-8u144-linux-i586.tar.gz' : { $md5checksum = '13d771707f326b02e2497c99e0a2ca37' }
'jdk-8u144-linux-x64.rpm' : { $md5checksum = 'dcc4c903506766ec4c50a969babdd856' }
'jdk-8u144-linux-x64.tar.gz' : { $md5checksum = '2d59a3add1f213cd249a67684d4aeb83' }
'jre-8u144-linux-i586.rpm' : { $md5checksum = 'b9798f6a9fa9bcf5a9828173185dbe55' }
'jre-8u144-linux-i586.tar.gz' : { $md5checksum = '794e74d0395124337809dcc225c80411' }
'jre-8u144-linux-x64.rpm' : { $md5checksum = '5f4b98cbe19862a969494ce878377298' }
'jre-8u144-linux-x64.tar.gz' : { $md5checksum = 'e3808f24d0f588b0c313fa18b50683c6' }
# 8u141
'jdk-8u141-linux-i586.rpm' : { $md5checksum = '827d5757ca23e32f071af38debc05bdc' }
'jdk-8u141-linux-i586.tar.gz' : { $md5checksum = '016e3389363cce74b2d756b626e949c6' }
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 = '8u141'
$version_real = '8u144'
} 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 = '8u141'
$version_real = '8u144'
} elsif $version == '7' {
$version_real = '7u80'
} elsif $version == '6' {
Expand Down Expand Up @@ -119,6 +119,8 @@
case $maj_version {
'8' : {
case $min_version {
'144' : { $buildnumber = '-b01'
$urlcodeoracle = '/090f390dda5b47b9b721c7dfaa008135' }
'141' : { $buildnumber = '-b15'
$urlcodeoracle = '/336fa29ff2bb4ef291e347e091f7f4a7' }
'131' : { $buildnumber = '-b11'
Expand Down Expand Up @@ -227,6 +229,15 @@
if !$checksum {
#-- start checksum --#
case $filename_real {
# 8u144
'jdk-8u144-linux-i586.rpm' : { $md5checksum = 'eb35a77bcbd2466d9c96142e5a0d9b87' }
'jdk-8u144-linux-i586.tar.gz' : { $md5checksum = '13d771707f326b02e2497c99e0a2ca37' }
'jdk-8u144-linux-x64.rpm' : { $md5checksum = 'dcc4c903506766ec4c50a969babdd856' }
'jdk-8u144-linux-x64.tar.gz' : { $md5checksum = '2d59a3add1f213cd249a67684d4aeb83' }
'jre-8u144-linux-i586.rpm' : { $md5checksum = 'b9798f6a9fa9bcf5a9828173185dbe55' }
'jre-8u144-linux-i586.tar.gz' : { $md5checksum = '794e74d0395124337809dcc225c80411' }
'jre-8u144-linux-x64.rpm' : { $md5checksum = '5f4b98cbe19862a969494ce878377298' }
'jre-8u144-linux-x64.tar.gz' : { $md5checksum = 'e3808f24d0f588b0c313fa18b50683c6' }
# 8u141
'jdk-8u141-linux-i586.rpm' : { $md5checksum = '827d5757ca23e32f071af38debc05bdc' }
'jdk-8u141-linux-i586.tar.gz' : { $md5checksum = '016e3389363cce74b2d756b626e949c6' }
Expand Down
8 changes: 5 additions & 3 deletions manifests/javalist.pp
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,13 @@
case $oracle_java::maj_version {
'8' : {
case $oracle_java::min_version {
'141' : { $buildnumber = '-b15'
'144' : { $buildnumber = '-b01'
$urlcodeoracle = '/090f390dda5b47b9b721c7dfaa008135' }
'141' : { $buildnumber = '-b15'
$urlcodeoracle = '/336fa29ff2bb4ef291e347e091f7f4a7' }
'131' : { $buildnumber = '-b11'
'131' : { $buildnumber = '-b11'
$urlcodeoracle = '/d54c1d3a095b4ff2b6607d096fa80163' }
'121' : { $buildnumber = '-b13'
'121' : { $buildnumber = '-b13'
$urlcodeoracle = '/e9e7ea248e2c4826b92b3f075a80e441' }
'112' : { $buildnumber = '-b15' }
'111' : { $buildnumber = '-b14' }
Expand Down

0 comments on commit 33285f7

Please sign in to comment.