diff options
Diffstat (limited to 'modules/viewvc/manifests/init.pp')
-rw-r--r-- | modules/viewvc/manifests/init.pp | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/modules/viewvc/manifests/init.pp b/modules/viewvc/manifests/init.pp index 2545a8b1..38cc4eae 100644 --- a/modules/viewvc/manifests/init.pp +++ b/modules/viewvc/manifests/init.pp @@ -1,5 +1,5 @@ class viewvc { - include apache::mod::fastcgi + include apache::mod::fcgid include viewvc::var package {['viewvc', 'python-svn', @@ -42,11 +42,17 @@ class viewvc { $vhost_aliases = { '/viewvc' => '/var/www/viewvc/', '/robots.txt' => $robotsfile, - '/' => '/usr/share/viewvc/bin/wsgi/viewvc.fcgi/' } + + $script_aliases = { + '/' => '/usr/share/viewvc/bin/wsgi/viewvc.fcgi/', + } + + $process = 4 + apache::vhost::base { $viewvc::var::hostname: aliases => $vhost_aliases, - content => template('viewvc/vhost.conf'), + content => template('apache/vhost_fcgid.conf'), } apache::vhost::base { "ssl_${viewvc::var::hostname}": vhost => $viewvc::var::hostname, |