Project

General

Profile

Actions

Bug #7882

closed

Katello Installer fails in OracleLinux while installing rubygems-katello

Added by Soumen Trivedi over 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Installer
Target version:
Difficulty:
trivial
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

While installing Katello 2.0 in OracleLinux 6.5 x86_64 server, the installer "katello-installer" fails due to missing package rubygems-katello.

The reason for this issue is OracleLinux does not have an approved SCL respository, instead uses CentOS/RHEL based SCL yum repo. In the katello manifest, the repositories are set on the basis on operatingsystem fact (see the code snippet below)

In the project, https://github.com/Katello/puppet-katello following code,

if ($::operatingsystem  'RedHat' or $::operatingsystem  'CentOS'){
$scl_prefix = 'ruby193-'
$scl_root = '/opt/rh/ruby193/root'
} else {
$scl_prefix = ''
$scl_root = ''
}

Similar such references are present in few other manifests as well in this project. I have fixed this to include support for OracelLinux and awaiting acceptance on my pull request.

This change has been done for puppet-katello and puppet-katello_devel projects.

Actions

Also available in: Atom PDF