Enabling Rocky Linux for Install

This commit is contained in:
Peter Jensen
2021-07-29 15:57:09 -07:00
committed by GitHub
parent a8e68cd210
commit 8817a44d62

View File

@@ -9,7 +9,7 @@ class java::params {
case $facts['os']['family'] {
'RedHat': {
case $facts['os']['name'] {
'RedHat', 'CentOS', 'OracleLinux', 'Scientific', 'OEL', 'SLC', 'CloudLinux': {
'Rocky', 'RedHat', 'CentOS', 'OracleLinux', 'Scientific', 'OEL', 'SLC', 'CloudLinux': {
if (versioncmp($facts['os']['release']['full'], '5.0') < 0) {
$jdk_package = 'java-1.6.0-sun-devel'
$jre_package = 'java-1.6.0-sun'