Browse code

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

Attila Fazekas authored on 2017/12/11 20:20:25
Showing 6 changed files
... ...
@@ -1,5 +1,5 @@
1 1
 iscsi-initiator-utils
2 2
 lvm2
3 3
 qemu-img
4
-scsi-target-utils # not:rhel7,f24,f25,f26 NOPRIME
5
-targetcli # dist:rhel7,f24,f25,f26 NOPRIME
4
+scsi-target-utils # not:rhel7,f25,f26,f27 NOPRIME
5
+targetcli # dist:rhel7,f25,f26,f27 NOPRIME
... ...
@@ -9,9 +9,9 @@ git-core
9 9
 graphviz # needed only for docs
10 10
 httpd
11 11
 httpd-devel
12
-iptables-services  # NOPRIME f23,f24,f25,f26
12
+iptables-services  # NOPRIME f25,f26,f27
13 13
 java-1.7.0-openjdk-headless  # NOPRIME rhel7
14
-java-1.8.0-openjdk-headless  # NOPRIME f23,f24,f25,f26
14
+java-1.8.0-openjdk-headless  # NOPRIME f25,f26,f27
15 15
 libffi-devel
16 16
 libjpeg-turbo-devel # Pillow 3.0.0
17 17
 libxml2-devel # lxml
... ...
@@ -7,7 +7,7 @@ gawk
7 7
 genisoimage # required for config_drive
8 8
 iptables
9 9
 iputils
10
-kernel-modules # dist:f23,f24,f25,f26
10
+kernel-modules # dist:f25,f26,f27
11 11
 kpartx
12 12
 libxml2-python
13 13
 m2crypto
... ...
@@ -2,7 +2,7 @@ curl
2 2
 liberasurecode-devel
3 3
 memcached
4 4
 pyxattr
5
-rsync-daemon # dist:f23,f24,f25,f26
5
+rsync-daemon # dist:f25,f26,f27
6 6
 sqlite
7 7
 xfsprogs
8 8
 xinetd
... ...
@@ -133,8 +133,9 @@ function install_apache_wsgi {
133 133
         sudo rm -f /etc/httpd/conf.d/000-*
134 134
         install_package httpd mod_wsgi
135 135
         # For consistency with Ubuntu, switch to the worker mpm, as
136
-        # the default is prefork
136
+        # the default is event
137 137
         sudo sed -i '/mod_mpm_prefork.so/s/^/#/g' /etc/httpd/conf.modules.d/00-mpm.conf
138
+        sudo sed -i '/mod_mpm_event.so/s/^/#/g' /etc/httpd/conf.modules.d/00-mpm.conf
138 139
         sudo sed -i '/mod_mpm_worker.so/s/^#//g' /etc/httpd/conf.modules.d/00-mpm.conf
139 140
     elif is_suse; then
140 141
         install_package apache2 apache2-mod_wsgi
... ...
@@ -221,7 +221,7 @@ write_devstack_version
221 221
 
222 222
 # Warn users who aren't on an explicitly supported distro, but allow them to
223 223
 # override check and attempt installation with ``FORCE=yes ./stack``
224
-if [[ ! ${DISTRO} =~ (xenial|zesty|artful|stretch|jessie|f24|f25|f26|opensuse-42.2|opensuse-42.3|rhel7) ]]; then
224
+if [[ ! ${DISTRO} =~ (xenial|zesty|artful|stretch|jessie|f25|f26|f27|opensuse-42.2|opensuse-42.3|rhel7) ]]; then
225 225
     echo "WARNING: this script has not been tested on $DISTRO"
226 226
     if [[ "$FORCE" != "yes" ]]; then
227 227
         die $LINENO "If you wish to run this script anyway run with FORCE=yes"