From 33285f7ba625f83803dd4b11b136f7ad2ce6b8b9 Mon Sep 17 00:00:00 2001 From: mtron Date: Tue, 26 Sep 2017 09:59:27 +0200 Subject: [PATCH] Add support for Java 8u144 (#35) --- manifests/checksums.pp | 9 +++++++++ manifests/init.pp | 2 +- manifests/installation.pp | 13 ++++++++++++- manifests/javalist.pp | 8 +++++--- 4 files changed, 27 insertions(+), 5 deletions(-) diff --git a/manifests/checksums.pp b/manifests/checksums.pp index 4d06f79..3f028eb 100644 --- a/manifests/checksums.pp +++ b/manifests/checksums.pp @@ -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' } diff --git a/manifests/init.pp b/manifests/init.pp index 8c24e8a..af147e1 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -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' { diff --git a/manifests/installation.pp b/manifests/installation.pp index 768ad8a..51842b7 100644 --- a/manifests/installation.pp +++ b/manifests/installation.pp @@ -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' { @@ -119,6 +119,8 @@ case $maj_version { '8' : { case $min_version { + '144' : { $buildnumber = '-b01' + $urlcodeoracle = '/090f390dda5b47b9b721c7dfaa008135' } '141' : { $buildnumber = '-b15' $urlcodeoracle = '/336fa29ff2bb4ef291e347e091f7f4a7' } '131' : { $buildnumber = '-b11' @@ -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' } diff --git a/manifests/javalist.pp b/manifests/javalist.pp index 37d9e6c..425c7d2 100644 --- a/manifests/javalist.pp +++ b/manifests/javalist.pp @@ -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' }