summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Peck <bpeck@redhat.com>2010-04-15 15:17:36 +0000
committerBill Peck <bpeck@redhat.com>2010-04-15 15:17:36 +0000
commit395ebde5e33d519f3959ae5f5e6946eb6cb08b25 (patch)
treeb7cdb4494f2fa5cab1002df94347346b0514add5
parent2f24a2e356da03a540d807899533ffdecb063e6a (diff)
turn on wsgi for cobbler now toorh-tests-distribution-beaker-setup-1_1-37
-rwxr-xr-xTasks/distribution/beaker/setup/runtest.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/Tasks/distribution/beaker/setup/runtest.sh b/Tasks/distribution/beaker/setup/runtest.sh
index 119c9ad..37e698b 100755
--- a/Tasks/distribution/beaker/setup/runtest.sh
+++ b/Tasks/distribution/beaker/setup/runtest.sh
@@ -324,6 +324,8 @@ 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