MODULES-5047 - Update java::oracle class to work with new download URLs
Oracle appears to have changed the JDK URL structure starting with Java 8u121. This update adds a hash to store the values used by Oracle's java download site along with a case statement to lookup the proper key for the java release being installed.
This commit is contained in:
committed by
Helen Campbell
parent
73604a3419
commit
08423fb170
@@ -157,6 +157,10 @@ Proxy server type (none|http|https|ftp). (passed to archive)
|
||||
|
||||
Pass an entire URL to download the installer from rather than building the complete URL from other parameters. This will allow the module to be used even if the URLs are changed by Oracle. If this parameter is used, matching `version_major` and `version_minor` parameters must also be passed to the class.
|
||||
|
||||
##### `url_hash`
|
||||
|
||||
Directory hash used by the download.oracle.com site. This value is a 32 character string which is part of the file URL returned by the JDK download site.
|
||||
|
||||
### Facts
|
||||
|
||||
The java module includes a few facts to describe the version of Java installed on the system:
|
||||
|
||||
Reference in New Issue
Block a user