From b6eafc6c5d15b92ade1d93886b1b2d879b50e129 Mon Sep 17 00:00:00 2001 From: Evgeni Golov Date: Fri, 3 Nov 2023 09:09:59 +0100 Subject: [PATCH 1/2] Add support for OracleLinux/AlmaLinux/Rocky --- metadata.json | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/metadata.json b/metadata.json index 0cdfa3f1..84b30c90 100644 --- a/metadata.json +++ b/metadata.json @@ -55,6 +55,28 @@ "9" ] }, + { + "operatingsystem": "OracleLinux", + "operatingsystemrelease": [ + "7", + "8", + "9" + ] + }, + { + "operatingsystem": "AlmaLinux", + "operatingsystemrelease": [ + "8", + "9" + ] + }, + { + "operatingsystem": "Rocky", + "operatingsystemrelease": [ + "8", + "9" + ] + }, { "operatingsystem": "Scientific", "operatingsystemrelease": [ From 8f0203b34e73cf0fac10ce53590b36e620ccda24 Mon Sep 17 00:00:00 2001 From: Evgeni Golov Date: Fri, 3 Nov 2023 10:18:42 +0100 Subject: [PATCH 2/2] explicitly install cronie on other EL --- spec/setup_acceptance_node.pp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/spec/setup_acceptance_node.pp b/spec/setup_acceptance_node.pp index 8a4ac77d..bce91de2 100644 --- a/spec/setup_acceptance_node.pp +++ b/spec/setup_acceptance_node.pp @@ -1,8 +1,11 @@ $packages = $facts['os']['name'] ? { # iproute is needed for the ss command in testing and not included in the base container - 'Fedora' => ['cronie', 'iproute'], - 'Ubuntu' => ['cron'], - default => [], + 'Fedora' => ['cronie', 'iproute'], + 'Ubuntu' => ['cron'], + 'AlmaLinux' => ['cronie'], + 'OracleLinux' => ['cronie'], + 'Rocky' => ['cronie'], + default => [], } package { $packages: