Skip to content

Commit

Permalink
Set rubygem-katello package name based on operating system release nu…
Browse files Browse the repository at this point in the history
…mber (#288)
  • Loading branch information
ehelms authored and evgeni committed May 24, 2019
1 parent 908002c commit e92cda8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/params.pp
Original file line number Diff line number Diff line change
@@ -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'
Expand Down

0 comments on commit e92cda8

Please # to comment.