Merge pull request #1 from hedzr/hedzr-patch-add-amazon-linux-ami-supports

for 'Amazon Linux AMI' supports
This commit is contained in:
hedzr
2016-12-15 11:13:40 +08:00
committed by GitHub

View File

@@ -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'