Add Fedora 27 support
Removing the (f23,)f24 support they are EOL. The only non-trivial change is the apache-httpd default worker change, however might not be bad idea to use `event` instead of `worker` in the future, but for now keep it AS-IS and continue to use `worker`. Change-Id: I96d414a30b58bc4b43da45066fdf310a6a830079 Closes-Bug: #1740194
This commit is contained in:
parent
83194f956e
commit
9fd38e7970
@ -1,5 +1,5 @@
|
|||||||
iscsi-initiator-utils
|
iscsi-initiator-utils
|
||||||
lvm2
|
lvm2
|
||||||
qemu-img
|
qemu-img
|
||||||
scsi-target-utils # not:rhel7,f24,f25,f26 NOPRIME
|
scsi-target-utils # not:rhel7,f25,f26,f27 NOPRIME
|
||||||
targetcli # dist:rhel7,f24,f25,f26 NOPRIME
|
targetcli # dist:rhel7,f25,f26,f27 NOPRIME
|
||||||
|
@ -9,9 +9,9 @@ git-core
|
|||||||
graphviz # needed only for docs
|
graphviz # needed only for docs
|
||||||
httpd
|
httpd
|
||||||
httpd-devel
|
httpd-devel
|
||||||
iptables-services # NOPRIME f23,f24,f25,f26
|
iptables-services # NOPRIME f25,f26,f27
|
||||||
java-1.7.0-openjdk-headless # NOPRIME rhel7
|
java-1.7.0-openjdk-headless # NOPRIME rhel7
|
||||||
java-1.8.0-openjdk-headless # NOPRIME f23,f24,f25,f26
|
java-1.8.0-openjdk-headless # NOPRIME f25,f26,f27
|
||||||
libffi-devel
|
libffi-devel
|
||||||
libjpeg-turbo-devel # Pillow 3.0.0
|
libjpeg-turbo-devel # Pillow 3.0.0
|
||||||
libxml2-devel # lxml
|
libxml2-devel # lxml
|
||||||
|
@ -7,7 +7,7 @@ gawk
|
|||||||
genisoimage # required for config_drive
|
genisoimage # required for config_drive
|
||||||
iptables
|
iptables
|
||||||
iputils
|
iputils
|
||||||
kernel-modules # dist:f23,f24,f25,f26
|
kernel-modules # dist:f25,f26,f27
|
||||||
kpartx
|
kpartx
|
||||||
libxml2-python
|
libxml2-python
|
||||||
m2crypto
|
m2crypto
|
||||||
|
@ -2,7 +2,7 @@ curl
|
|||||||
liberasurecode-devel
|
liberasurecode-devel
|
||||||
memcached
|
memcached
|
||||||
pyxattr
|
pyxattr
|
||||||
rsync-daemon # dist:f23,f24,f25,f26
|
rsync-daemon # dist:f25,f26,f27
|
||||||
sqlite
|
sqlite
|
||||||
xfsprogs
|
xfsprogs
|
||||||
xinetd
|
xinetd
|
||||||
|
@ -133,8 +133,9 @@ function install_apache_wsgi {
|
|||||||
sudo rm -f /etc/httpd/conf.d/000-*
|
sudo rm -f /etc/httpd/conf.d/000-*
|
||||||
install_package httpd mod_wsgi
|
install_package httpd mod_wsgi
|
||||||
# For consistency with Ubuntu, switch to the worker mpm, as
|
# For consistency with Ubuntu, switch to the worker mpm, as
|
||||||
# the default is prefork
|
# the default is event
|
||||||
sudo sed -i '/mod_mpm_prefork.so/s/^/#/g' /etc/httpd/conf.modules.d/00-mpm.conf
|
sudo sed -i '/mod_mpm_prefork.so/s/^/#/g' /etc/httpd/conf.modules.d/00-mpm.conf
|
||||||
|
sudo sed -i '/mod_mpm_event.so/s/^/#/g' /etc/httpd/conf.modules.d/00-mpm.conf
|
||||||
sudo sed -i '/mod_mpm_worker.so/s/^#//g' /etc/httpd/conf.modules.d/00-mpm.conf
|
sudo sed -i '/mod_mpm_worker.so/s/^#//g' /etc/httpd/conf.modules.d/00-mpm.conf
|
||||||
elif is_suse; then
|
elif is_suse; then
|
||||||
install_package apache2 apache2-mod_wsgi
|
install_package apache2 apache2-mod_wsgi
|
||||||
|
2
stack.sh
2
stack.sh
@ -221,7 +221,7 @@ write_devstack_version
|
|||||||
|
|
||||||
# Warn users who aren't on an explicitly supported distro, but allow them to
|
# Warn users who aren't on an explicitly supported distro, but allow them to
|
||||||
# override check and attempt installation with ``FORCE=yes ./stack``
|
# override check and attempt installation with ``FORCE=yes ./stack``
|
||||||
if [[ ! ${DISTRO} =~ (xenial|zesty|artful|stretch|jessie|f24|f25|f26|opensuse-42.2|opensuse-42.3|rhel7) ]]; then
|
if [[ ! ${DISTRO} =~ (xenial|zesty|artful|stretch|jessie|f25|f26|f27|opensuse-42.2|opensuse-42.3|rhel7) ]]; then
|
||||||
echo "WARNING: this script has not been tested on $DISTRO"
|
echo "WARNING: this script has not been tested on $DISTRO"
|
||||||
if [[ "$FORCE" != "yes" ]]; then
|
if [[ "$FORCE" != "yes" ]]; then
|
||||||
die $LINENO "If you wish to run this script anyway run with FORCE=yes"
|
die $LINENO "If you wish to run this script anyway run with FORCE=yes"
|
||||||
|
Loading…
Reference in New Issue
Block a user