Actions
Bug #7882
closedKatello Installer fails in OracleLinux while installing rubygems-katello
Difficulty:
trivial
Triaged:
Yes
Bugzilla link:
Pull request:
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