From 610394cd319cc57a9e3888a97d1426b443f32b48 Mon Sep 17 00:00:00 2001 From: David Galloway Date: Wed, 31 Aug 2022 12:27:42 -0400 Subject: [PATCH] cobbler: CentOS 9 packages on CentOS 9 only Signed-off-by: David Galloway --- roles/cobbler/templates/snippets/cephlab_packages_rhel | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/cobbler/templates/snippets/cephlab_packages_rhel b/roles/cobbler/templates/snippets/cephlab_packages_rhel index e883a03..cc1e626 100644 --- a/roles/cobbler/templates/snippets/cephlab_packages_rhel +++ b/roles/cobbler/templates/snippets/cephlab_packages_rhel @@ -20,11 +20,13 @@ perl # Needed in RHEL9 but not CentOS9 NetworkManager-initscripts-updown #end if +#if $distro == 'CentOS' # CentOS 9 Stream only packages centos-gpg-keys -subscription-manager python3-pip #end if +#end if ## These packages are not available in CentOS 9 Stream #if int($distro_ver_major) < 9 redhat-lsb-core -- 2.39.5