summaryrefslogtreecommitdiff
path: root/manifests/web/lighttpd.pp
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2010-07-06 00:13:38 +0200
committermh <mh@immerda.ch>2010-07-06 00:13:38 +0200
commita1b5d4209109b1c3fae9e7b80a1b22bcf3d5211d (patch)
treec64e269c36ad5332bcaff30bf902f397f6a88a13 /manifests/web/lighttpd.pp
parentdae75da745ffbba2cfab1b7f60f686c019c55be5 (diff)
adjust to new lighttpd module
Diffstat (limited to 'manifests/web/lighttpd.pp')
-rw-r--r--manifests/web/lighttpd.pp5
1 files changed, 1 insertions, 4 deletions
diff --git a/manifests/web/lighttpd.pp b/manifests/web/lighttpd.pp
index 7c233fa..9534c60 100644
--- a/manifests/web/lighttpd.pp
+++ b/manifests/web/lighttpd.pp
@@ -1,10 +1,7 @@
class git::web::lighttpd {
include ::lighttpd
- file{'/etc/lighttpd/conf.d/lighttpd-gitweb.conf':
+ lighttpd::config::file{'lighttpd-gitweb':
content => 'global { server.modules += ("mod_rewrite", "mod_redirect", "mod_alias", "mod_setenv", "mod_cgi" ) }',
- require => Package['lighttpd'],
- notify => Service['lighttpd'],
- owner => root, group => 0, mode => 0644;
}
}