diff options
Diffstat (limited to 'manifests/init.pp')
-rw-r--r-- | manifests/init.pp | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index a24af8c..246b28c 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -50,11 +50,17 @@ class gitweb($site_alias, $doc_root, $project_root, $projects_list, $ssl = true) $apache_port = '80' } + include apache::mod::suexec + include apache::mod::rewrite apache::vhost { $site_alias: - priority => "10", - port => $apache_port, - ssl => $ssl, - docroot => $doc_root, - template => "gitweb/apache-gitweb.conf.erb", + priority => "10", + port => $apache_port, + ssl => $ssl, + docroot => $doc_root, + template => "gitweb/apache-gitweb.conf.erb", + require => [ + Class['apache::mod::rewrite'], + Class['apache::mod::suexec'], + ], } } |