Add package names for openSUSE/SLE
Change-Id: I487cc7b8bd228ff77c9881528e3395cbe3c43d4a
diff --git a/lib/databases/mysql b/lib/databases/mysql
index fc6a3b7..eb84f2c 100644
--- a/lib/databases/mysql
+++ b/lib/databases/mysql
@@ -84,7 +84,11 @@
chmod 0600 $HOME/.my.cnf
fi
# Install mysql-server
- install_package mysql-server
+ if is_suse; then
+ install_package mysql-community-server
+ else
+ install_package mysql-server
+ fi
}
function database_connection_url_mysql {
diff --git a/lib/horizon b/lib/horizon
index af09f77..a378baf 100644
--- a/lib/horizon
+++ b/lib/horizon
@@ -111,6 +111,8 @@
if [[ "$os_PACKAGE" = "deb" ]]; then
# Install apache2, which is NOPRIME'd
install_package apache2 libapache2-mod-wsgi
+ elif is_suse; then
+ install_package apache2 apache2-mod_wsgi
else
sudo rm -f /etc/httpd/conf.d/000-*
install_package httpd mod_wsgi