Changed from operatingsystem to osfamily to match other RHEL derivitives such as Oracle Linux

This commit is contained in:
RoboGi
2016-07-19 11:25:36 -07:00
parent 71a8bed51d
commit 9dbe1ce9bb

View File

@@ -114,8 +114,8 @@ define java::oracle (
# determine package type (exe/tar/rpm), destination directory based on OS
case $::kernel {
'Linux' : {
case $::operatingsystem {
'CentOS', 'RedHat' : {
case $::osfamily {
'RedHat' : {
# Oracle Java 6 comes in a special rpmbin format
if $version == '6' {
$package_type = 'rpmbin'