From 616b309f95ceb970df1dc7c11f89b77729f364e6 Mon Sep 17 00:00:00 2001 From: akumari Date: Thu, 6 Jun 2024 12:37:12 +0530 Subject: [PATCH] Add AlmaLinux 8 & 9 support Added AlmaLinux 8 and 9 to the supported operating systems in metadata.json. These changes ensure that we start testing with AlmaLinux 8 and 9 instead of CentOS 8 Stream. This update is part of our transition to better support AlmaLinux in our Puppet modules. See, for details: https://github.com/theforeman/foreman-infra/issues/2087 --- metadata.json | 7 +++++++ spec/setup_acceptance_node.pp | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/metadata.json b/metadata.json index e774ae4..8759b91 100644 --- a/metadata.json +++ b/metadata.json @@ -94,6 +94,13 @@ "operatingsystemrelease": [ "4" ] + }, + { + "operatingsystem": "AlmaLinux", + "operatingsystemrelease": [ + "8", + "9" + ] } ] } diff --git a/spec/setup_acceptance_node.pp b/spec/setup_acceptance_node.pp index 046a2c9..d24c5a7 100644 --- a/spec/setup_acceptance_node.pp +++ b/spec/setup_acceptance_node.pp @@ -1,4 +1,4 @@ -if $facts['os']['name'] == 'CentOS' { +if $facts['os']['name'] == ['CentOS', 'AlmaLinux'] { package { 'epel-release': ensure => installed, before => Package['dhcping'],