diff options
author | Michael Scherer <misc@mageia.org> | 2011-01-28 12:26:04 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2011-01-28 12:26:04 +0000 |
commit | 19553371bbdc91dbeb6ec2aeb1b2b329013da245 (patch) | |
tree | bb6ece758ddc0e1b220ac5ee6e359722352ea11a /modules | |
parent | 726cfa66c8fe8d4b5c44821a51c23ed956fd23bc (diff) | |
download | puppet-19553371bbdc91dbeb6ec2aeb1b2b329013da245.tar puppet-19553371bbdc91dbeb6ec2aeb1b2b329013da245.tar.gz puppet-19553371bbdc91dbeb6ec2aeb1b2b329013da245.tar.bz2 puppet-19553371bbdc91dbeb6ec2aeb1b2b329013da245.tar.xz puppet-19553371bbdc91dbeb6ec2aeb1b2b329013da245.zip |
enable mod_wdgi hack to let viewvc write to stdout. Viewvc should be
fixed, and a bug report should be opened ( but for now, this is faster )
Diffstat (limited to 'modules')
-rw-r--r-- | modules/apache/manifests/init.pp | 9 | ||||
-rw-r--r-- | modules/apache/templates/mod_wsgi.conf | 4 |
2 files changed, 13 insertions, 0 deletions
diff --git a/modules/apache/manifests/init.pp b/modules/apache/manifests/init.pp index bcad0d24..8c6daa74 100644 --- a/modules/apache/manifests/init.pp +++ b/modules/apache/manifests/init.pp @@ -79,6 +79,15 @@ class apache { group => root, mode => 644, } + + file { "/etc/httpd/conf.d/mod_wsgi.conf": + ensure => present, + owner => root, + group => root, + mode => 644, + content => template('apache/mod_wsgi.conf') + } + } class mod_proxy inherits base { diff --git a/modules/apache/templates/mod_wsgi.conf b/modules/apache/templates/mod_wsgi.conf new file mode 100644 index 00000000..c257460a --- /dev/null +++ b/modules/apache/templates/mod_wsgi.conf @@ -0,0 +1,4 @@ +# http://code.google.com/p/modwsgi/wiki/ApplicationIssues +# mainly for viewvc at the moment , when doing a diff +WSGIRestrictStdout Off + |