From a20d63018110c981f65a0f74b5cb79f9fe863b29 Mon Sep 17 00:00:00 2001 From: Malik Parvez <84777619+malikparvez@users.noreply.github.com> Date: Tue, 24 Sep 2024 23:04:20 +0530 Subject: [PATCH] Adding support for AL2-2023 --- manifests/osfamily/redhat.pp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/manifests/osfamily/redhat.pp b/manifests/osfamily/redhat.pp index 5192853d..6e807cde 100644 --- a/manifests/osfamily/redhat.pp +++ b/manifests/osfamily/redhat.pp @@ -24,11 +24,13 @@ '2-aarch64' => '2', '2-x86_64' => '7', /^(2017|2018)-/ => '6', + '2023-x86_64' => '8', + '2023-aarch64' => '8', default => $major_version, } $platform_and_version = "${amz_el_version}" ? { - /^(6|7)$/ => "el/${amz_el_version}", + /^(6|7|8)$/ => "el/${amz_el_version}", default => "amazon/${amz_el_version}", } } @@ -43,7 +45,7 @@ if $facts['os']['name'] == 'Amazon' { # lint:ignore:only_variable_string $pe_repo_dir = "${amz_el_version}" ? { - /^(6|7)$/ => "el-${amz_el_version}-${facts['os']['architecture']}", + /^(6|7|8)$/ => "el-${amz_el_version}-${facts['os']['architecture']}", default => $facts['platform_tag'], } # lint:endignore