From 3a868ecf85f98a2aebb231adf5c2c1042ae02556 Mon Sep 17 00:00:00 2001 From: Ewoud Kohl van Wijngaarden Date: Thu, 20 Aug 2026 11:12:09 +0200 Subject: [PATCH] Add EL 10 support --- metadata.json | 9 ++++++--- spec/setup_acceptance_node.pp | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/metadata.json b/metadata.json index 4a69dfa..717a950 100644 --- a/metadata.json +++ b/metadata.json @@ -47,19 +47,22 @@ { "operatingsystem": "RedHat", "operatingsystemrelease": [ - "9" + "9", + "10" ] }, { "operatingsystem": "CentOS", "operatingsystemrelease": [ - "9" + "9", + "10" ] }, { "operatingsystem": "AlmaLinux", "operatingsystemrelease": [ - "9" + "9", + "10" ] } ] diff --git a/spec/setup_acceptance_node.pp b/spec/setup_acceptance_node.pp index 975c30e..8950190 100644 --- a/spec/setup_acceptance_node.pp +++ b/spec/setup_acceptance_node.pp @@ -5,7 +5,7 @@ repo_version => 'nightly', } class { 'candlepin::repo': - version => '4.8', + version => if $facts['os']['release']['major'] == '9' { '4.8' } else { '5.0' } } group { 'foreman':