pdksync - (IAC-1753) - Add Support for AlmaLinux 8 (#500)

* (IAC-1752) - Add Support for AlmaLinux 8

* Update params.pp

* Fix lint error

* Update params.pp

Co-authored-by: daianamezdrea <46529728+daianamezdrea@users.noreply.github.com>
Co-authored-by: daiana <daiana.mezdrea@yahoo.com>
This commit is contained in:
david22swan
2021-10-11 13:59:15 +01:00
committed by GitHub
parent 8cad2cd4e4
commit 1388863f4f
2 changed files with 7 additions and 1 deletions

View File

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

View File

@@ -76,6 +76,12 @@
"operatingsystemrelease": [ "operatingsystemrelease": [
"8" "8"
] ]
},
{
"operatingsystem": "AlmaLinux",
"operatingsystemrelease": [
"8"
]
} }
], ],
"requirements": [ "requirements": [