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 {
'Linux' : {
case $::osfamily {
'RedHat' : {
'RedHat', 'Amazon' : {
# Oracle Java 6 comes in a special rpmbin format
if $version == '6' {
$package_type = 'rpmbin'