summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Peck <bpeck@redhat.com>2010-03-23 18:48:05 +0000
committerBill Peck <bpeck@redhat.com>2010-03-23 18:48:05 +0000
commit0f684d659c4025654371de44e65b88ec33bd1de4 (patch)
tree191897d275e2e9229d5c949ff4656996d1d00c8f
parentdb43ab582c58dd7e21ef6872e87612e38a126cc5 (diff)
-rwxr-xr-xTasks/distribution/beaker/setup/runtest.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tasks/distribution/beaker/setup/runtest.sh b/Tasks/distribution/beaker/setup/runtest.sh
index 7d9d132..c0a9c86 100755
--- a/Tasks/distribution/beaker/setup/runtest.sh
+++ b/Tasks/distribution/beaker/setup/runtest.sh
@@ -262,6 +262,8 @@ function Inventory()
# working since it can't write to it.
/bin/rm -f /var/log/beaker/server.log
service iptables stop
+ # Turn on wsgi
+ perl -pi -e 's|^#LoadModule wsgi_module modules/mod_wsgi.so|LoadModule wsgi_module modules/mod_wsgi.so|g' /etc/httpd/conf.d/wsgi.conf
service httpd start
estatus_fail "**** Failed to start httpd ****"
# Add the lab controller
@@ -297,8 +299,6 @@ function LabController()
setsebool -P httpd_can_network_connect true
semanage fcontext -a -t public_content_t "/var/lib/tftpboot/.*"
semanage fcontext -a -t public_content_t "/var/www/cobbler/images/.*"
- # Turn on wsgi
- perl -pi -e 's|^#LoadModule wsgi_module modules/mod_wsgi.so|LoadModule wsgi_module modules/mod_wsgi.so|g' /etc/httpd/conf.d/wsgi.conf
service httpd start
service xinetd start
service cobblerd start