(MODULES-11234) Support Adoptium Temurin
This commit is contained in:
58
README.md
58
README.md
@@ -107,6 +107,56 @@ java::adopt { 'jdk8' :
|
||||
}
|
||||
```
|
||||
|
||||
## Adoptium Temurin
|
||||
|
||||
Adoptium Temurin is the successor of AdoptOpenJDK and is supported using the defined type `java::adoptium`. It depends on [puppet/archive](https://github.com/voxpupuli/puppet-archive).
|
||||
|
||||
The `java::adoptium` defined type expects a major, minor, patch and build version to download the specific release. It doesn't support jre downloads as the other distributions.
|
||||
|
||||
```puppet
|
||||
java::adoptium { 'jdk16' :
|
||||
ensure => 'present',
|
||||
version_major => '16',
|
||||
version_minor => '0',
|
||||
version_patch => '2',
|
||||
version_build => '7',
|
||||
}
|
||||
java::adoptium { 'jdk17' :
|
||||
ensure => 'present',
|
||||
version_major => '17',
|
||||
version_minor => '0',
|
||||
version_patch => '1',
|
||||
version_build => '12',
|
||||
}
|
||||
```
|
||||
|
||||
To install Adoptium to a non-default basedir (defaults: /usr/lib/jvm for Debian; /usr/java for RedHat):
|
||||
|
||||
```puppet
|
||||
java::adoptium { 'jdk7' :
|
||||
ensure => 'present',
|
||||
version_major => '17',
|
||||
version_minor => '0',
|
||||
version_patch => '1',
|
||||
version_build => '12',
|
||||
basedir => '/custom/java',
|
||||
}
|
||||
```
|
||||
|
||||
To ensure that a custom basedir is a directory before Adoptium is installed (note: manage separately for custom ownership or perms):
|
||||
|
||||
```puppet
|
||||
java::adoptium { 'jdk8' :
|
||||
ensure => 'present',
|
||||
version_major => '17',
|
||||
version_minor => '0',
|
||||
version_patch => '1',
|
||||
version_build => '12',
|
||||
manage_basedir => true,
|
||||
basedir => '/custom/java',
|
||||
}
|
||||
```
|
||||
|
||||
## SAP Java (sapjvm / sapmachine)
|
||||
|
||||
SAP also offers JVM distributions. They are mostly required for their SAP products. In earlier versions it is called "sapjvm", in newer versions they call it "sapmachine".
|
||||
@@ -215,6 +265,13 @@ AdoptOpenJDK Java is supported on:
|
||||
* Amazon Linux
|
||||
* Debian
|
||||
|
||||
Adoptium Temurin Java is supported on:
|
||||
|
||||
* CentOS
|
||||
* Red Hat Enterprise Linux (RHEL)
|
||||
* Amazon Linux
|
||||
* Debian
|
||||
|
||||
SAP Java 7 and 8 (=sapjvm) are supported (by SAP) on:
|
||||
|
||||
* SLES 12, 15
|
||||
@@ -225,7 +282,6 @@ SAP Java 7 and 8 (=sapjvm) are supported (by SAP) on:
|
||||
|
||||
For SAP Java > 8 (=sapmachine) please refer to the OpenJDK list as it is based on OpenJDK and has no special requirements.
|
||||
|
||||
|
||||
### Known issues
|
||||
|
||||
Where Oracle change the format of the URLs to different installer packages, the curl to fetch the package may fail with a HTTP/404 error. In this case, passing a full known good URL using the `url` parameter will allow the module to still be able to install specific versions of the JRE/JDK. Note the `version_major` and `version_minor` parameters must be passed and must match the version downloaded using the known URL in the `url` parameter.
|
||||
|
||||
Reference in New Issue
Block a user