summaryrefslogtreecommitdiff
path: root/manifests/web/lighttpd.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/web/lighttpd.pp')
-rw-r--r--manifests/web/lighttpd.pp21
1 files changed, 2 insertions, 19 deletions
diff --git a/manifests/web/lighttpd.pp b/manifests/web/lighttpd.pp
index a169dc9..9534c60 100644
--- a/manifests/web/lighttpd.pp
+++ b/manifests/web/lighttpd.pp
@@ -1,24 +1,7 @@
class git::web::lighttpd {
include ::lighttpd
- include lighttpd::base::git::web
- file{'/etc/lighttpd/lighttpd-gitweb.conf':
- ensure => present,
- require => Package['lighttpd'],
- notify => Service['lighttpd'],
- owner => root, group => 0, mode => 0644;
- }
-
- file{'/etc/lighttpd/gitweb.d':
- ensure => directory,
- require => Package['lighttpd'],
- owner => root, group => 0, mode => 0755;
- }
-}
-class lighttpd::base::git::web inherits lighttpd::base {
- File['/etc/lighttpd/lighttpd.conf']{
- source => [ "puppet://$server/modules/site-git/web/${fqdn}/lighttpd.conf",
- "puppet://$server/modules/site-git/web/lighttpd.conf",
- "puppet://$server/modules/git/web/lighttpd.conf" ],
+ lighttpd::config::file{'lighttpd-gitweb':
+ content => 'global { server.modules += ("mod_rewrite", "mod_redirect", "mod_alias", "mod_setenv", "mod_cgi" ) }',
}
}