From: David Galloway Date: Fri, 11 Jan 2019 17:51:16 +0000 (-0500) Subject: cobbler: Fix RPM snippet conditional X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F433%2Fhead;p=ceph-cm-ansible.git cobbler: Fix RPM snippet conditional We need to check for RHEL or CentOS Signed-off-by: David Galloway --- diff --git a/roles/cobbler/templates/snippets/cephlab_packages_rhel b/roles/cobbler/templates/snippets/cephlab_packages_rhel index f223f0b2..5caa7362 100644 --- a/roles/cobbler/templates/snippets/cephlab_packages_rhel +++ b/roles/cobbler/templates/snippets/cephlab_packages_rhel @@ -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