]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
cobbler: Fix RPM snippet conditional 433/head
authorDavid Galloway <dgallowa@redhat.com>
Fri, 11 Jan 2019 17:51:16 +0000 (12:51 -0500)
committerDavid Galloway <dgallowa@redhat.com>
Fri, 11 Jan 2019 17:51:16 +0000 (12:51 -0500)
We need to check for RHEL or CentOS

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

index f223f0b29136244fecebb7206421b04edeaab0a9..5caa7362011570dbedb2e05656ae0bd26e7ce6c4 100644 (file)
@@ -7,7 +7,7 @@
 #else
 @base
 #end if
-#if $distro == 'RHEL'
+#if $distro == 'RHEL' or $distro == 'CentOS'
 #set distro_ver_major = $distro_ver.split(".")[0]
 #set distro_ver_minor = $distro_ver.split(".")[1]
 #end if