Merge pull request #488 from pmjensen/main

Enabling Rocky Linux for Install
This commit is contained in:
daianamezdrea
2021-09-20 17:18:22 +03:00
committed by GitHub

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'