]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
cobbler: make sure subscription-manager is installed on RHEL rhel9-ks
authorDavid Galloway <dgallowa@redhat.com>
Tue, 23 Aug 2022 17:35:47 +0000 (13:35 -0400)
committerDavid Galloway <dgallowa@redhat.com>
Tue, 23 Aug 2022 18:32:22 +0000 (14:32 -0400)
Apparently it isn't by default on EL9?

Signed-off-by: David Galloway <dgallowa@redhat.com>
roles/cobbler/templates/snippets/cephlab_packages_rhel

index 09b18c443f40a2c9bdc56739d8c6af1acb9c6d00..e17e60fdf5905f0588d6f496d3b1a570685b6ea6 100644 (file)
@@ -13,6 +13,9 @@ python3
 #if $distro == 'RHEL' or $distro == 'CentOS'
 #set distro_ver_major = $distro_ver.split(".")[0]
 #set distro_ver_minor = $distro_ver.split(".")[1]
+#if $distro == 'RHEL'
+subscription-manager
+#end if
 ## These packages are available in all RHEL/CentOS versions but not Fedora
 perl
 ## These packages are not available in CentOS 9 Stream