for 'Amazon Linux AMI' supports
[Amazon Linux AMI](https://aws.amazon.com/cn/amazon-linux-ami/2016.09-release-notes/) is another RedHat-like os image, openjdk-7 was shipped in that image but we want more choices or jdk 8. i'd been tested ok for oracle jdk installation on a 't2.micro' instance.
This commit is contained in:
@@ -145,7 +145,7 @@ define java::oracle (
|
|||||||
case $::kernel {
|
case $::kernel {
|
||||||
'Linux' : {
|
'Linux' : {
|
||||||
case $::osfamily {
|
case $::osfamily {
|
||||||
'RedHat' : {
|
'RedHat', 'Amazon' : {
|
||||||
# Oracle Java 6 comes in a special rpmbin format
|
# Oracle Java 6 comes in a special rpmbin format
|
||||||
if $version == '6' {
|
if $version == '6' {
|
||||||
$package_type = 'rpmbin'
|
$package_type = 'rpmbin'
|
||||||
|
|||||||
Reference in New Issue
Block a user