summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Peck <bpeck@redhat.com>2010-03-23 18:18:14 +0000
committerBill Peck <bpeck@redhat.com>2010-03-23 18:18:14 +0000
commitdb43ab582c58dd7e21ef6872e87612e38a126cc5 (patch)
tree6bccc57c99587b506b9cdb72d08a6e1141c1e7f6
parent53b20e0f6e78dc78bfd1c585a35de9e7d1afe8d6 (diff)
newer wsgi is off by defaultrh-tests-distribution-beaker-setup-1_1-28
-rwxr-xr-xTasks/distribution/beaker/setup/runtest.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/Tasks/distribution/beaker/setup/runtest.sh b/Tasks/distribution/beaker/setup/runtest.sh
index 19d7b6d..7d9d132 100755
--- a/Tasks/distribution/beaker/setup/runtest.sh
+++ b/Tasks/distribution/beaker/setup/runtest.sh
@@ -292,11 +292,13 @@ function LabController()
perl -pi -e "s|^anamon_enabled: 0|anamon_enabled: 1|g" /etc/cobbler/settings
perl -pi -e "s|^redhat_management_server: .*|redhat_management_server: \"https://testuser:testpassword\@$SERVER\"|g" /etc/cobbler/settings
#FIXME edit /etc/cobbler/modules.conf
- # enable testing auth module
- perl -pi -e "s|^module = authn_denyall|module = authn_testing|g" /etc/cobbler/modules.conf
+ # enable testing auth module
+ perl -pi -e "s|^module = authn_denyall|module = authn_testing|g" /etc/cobbler/modules.conf
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