Project

General

Profile

Actions

Bug #10516

closed

Hide parameters in the installer that are not relevant to Katello (i.e. Foreman mysql options)

Added by Edgars Mazurs almost 10 years ago. Updated over 5 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Installer
Target version:
-
Difficulty:
easy
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

On RHEL7 systems MariaDB is the default DB rather than MySQL. However katello-installer is trying to install MySQL when --foreman-db-type=mysql is set.

Here is the relevant snippet from /usr/share/katello-installer/modules/mysql/manifests/params.pp

case $::osfamily {
'RedHat': {
if $::operatingsystem 'Fedora' and (is_integer($::operatingsystemrelease) and $::operatingsystemrelease >= 19 or $::operatingsystemrelease "Rawhide") {
$client_package_name = 'mariadb'
$server_package_name = 'mariadb-server'
} else {
$client_package_name = 'mysql'
$server_package_name = 'mysql-server'
}

So installer should also install mariadb and mariadb-server packages when operatingsystem is Redhat (or CentOS) and operatingsystemrelease is 7. Because in RHEL7 repos there is no mysql and mysql-server packages.


Related issues 2 (0 open2 closed)

Related to Katello - Feature #8125: As a user with multiple data centers, I need Katello to support MySQL backend so that I can use my fancy-schmancy replicated database universe for making sure Katello is happy when half the world blows up.RejectedActions
Related to Katello - Bug #15112: expose/add more options to the installer (was: how to manually install katello)Rejected05/20/2016Actions
Actions

Also available in: Atom PDF