Corrects my.cnf location in RHEL based distros

my.cnf path was set to /etc/mysql/my.cnf and it
should be /etc/my.cnf. At this, this applied to
latest Fedora, RHEL and Centos.

Change-Id: Ib1f5b956d5e353a874bb97f68955603111600693
Closes-Bug: #1433423
This commit is contained in:
Victoria Martinez de la Cruz
2015-03-18 04:38:35 +00:00
committed by amrith
parent 7cdc493441
commit 946f79b30c

View File

@@ -58,7 +58,7 @@ INCLUDE_MARKER_OPERATORS = {
}
OS_NAME = operating_system.get_os()
MYSQL_CONFIG = {operating_system.REDHAT: "/etc/mysql/my.cnf",
MYSQL_CONFIG = {operating_system.REDHAT: "/etc/my.cnf",
operating_system.DEBIAN: "/etc/mysql/my.cnf",
operating_system.SUSE: "/etc/my.cnf"}[OS_NAME]
MYSQL_SERVICE_CANDIDATES = ["mysql", "mysqld", "mysql-server"]