Also support RedHat for Oracle Java

Works fine for me, tested on RHEL6.
This commit is contained in:
edge-records
2016-05-25 11:00:29 +01:00
parent 519e2d7b77
commit a74be5a7f8

View File

@@ -115,7 +115,7 @@ define java::oracle (
case $::kernel {
'Linux' : {
case $::operatingsystem {
'CentOS' : {
'CentOS', 'RedHat' : {
# Oracle Java 6 comes in a special rpmbin format
if $version == '6' {
$package_type = 'rpmbin'