From c2420550c6c270b87f66d5f691950003437b9870 Mon Sep 17 00:00:00 2001 From: hedzr Date: Thu, 15 Dec 2016 11:08:55 +0800 Subject: [PATCH] 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. --- manifests/oracle.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/oracle.pp b/manifests/oracle.pp index a9323d1..c97ebb0 100644 --- a/manifests/oracle.pp +++ b/manifests/oracle.pp @@ -145,7 +145,7 @@ define java::oracle ( case $::kernel { 'Linux' : { case $::osfamily { - 'RedHat' : { + 'RedHat', 'Amazon' : { # Oracle Java 6 comes in a special rpmbin format if $version == '6' { $package_type = 'rpmbin'