From e92cda8d6d735443847687b0d9553102b4ab145b Mon Sep 17 00:00:00 2001 From: Eric Helms Date: Fri, 24 May 2019 05:36:37 -0400 Subject: [PATCH] Set rubygem-katello package name based on operating system release number (#288) --- manifests/params.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/params.pp b/manifests/params.pp index 033c912a..0a9ed63c 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -1,7 +1,7 @@ # Katello Default Params class katello::params { - if $facts['operatingsystem'] == 'Fedora' { + if versioncmp($facts['operatingsystemmajrelease'], '8') >= 0 { $rubygem_katello = 'rubygem-katello' } else { $rubygem_katello = 'tfm-rubygem-katello'