From c16f00a5194f39f2675ca4502f70f5ee1907d8fe Mon Sep 17 00:00:00 2001 From: David Galloway Date: Fri, 11 Jan 2019 12:51:16 -0500 Subject: [PATCH] cobbler: Fix RPM snippet conditional We need to check for RHEL or CentOS Signed-off-by: David Galloway --- roles/cobbler/templates/snippets/cephlab_packages_rhel | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.3