Merge "Handle uwsgi install for openSUSE" into stable/train

This commit is contained in:
Zuul
2020-06-19 16:12:15 +00:00
committed by Gerrit Code Review
2 changed files with 7 additions and 0 deletions

View File

@@ -109,6 +109,10 @@ function install_apache_uwsgi {
# Thus there is nothing else to do after this install
install_package uwsgi \
uwsgi-plugin-python3
elif [[ $os_VENDOR =~ openSUSE ]]; then
install_package uwsgi \
uwsgi-python3 \
apache2-mod_uwsgi
else
# Centos actually has the module in epel, but there was a big
# push to disable epel by default. As such, compile from source

View File

@@ -69,6 +69,9 @@ umask 022
# Not all distros have sbin in PATH for regular users.
PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin
# Add for openSUSE
PATH=$PATH:/usr/local/bin
# Keep track of the DevStack directory
TOP_DIR=$(cd $(dirname "$0") && pwd)