From 01ab2dc5a871a1becd07a35cb518a4acf3dcae7a Mon Sep 17 00:00:00 2001 From: mh Date: Fri, 9 Jan 2009 01:38:07 +0000 Subject: fixing lighttpd config --- files/web/lighttpd.conf | 6 +++--- manifests/defines.pp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/files/web/lighttpd.conf b/files/web/lighttpd.conf index 582f4e7..475d6ff 100644 --- a/files/web/lighttpd.conf +++ b/files/web/lighttpd.conf @@ -15,7 +15,7 @@ server.modules = ( "mod_rewrite", # "mod_redirect", "mod_alias", -# "mod_access", + "mod_access", # "mod_cml", # "mod_trigger_b4_dl", # "mod_auth", @@ -319,8 +319,8 @@ server.groupname = "lighttpd" #include /etc/lighttpd/lighttpd-inc.conf ## same as above if you run: "lighttpd -f /etc/lighttpd/lighttpd.conf" #include "lighttpd-inc.conf" -include /etc/lighttpd/lighttpd-gitweb-defaults.conf -include /etc/lighttpd/lighttpd-gitweb.conf +include "lighttpd-gitweb-defaults.conf" +include "lighttpd-gitweb.conf" #### include_shell #include_shell "echo var.a=1" diff --git a/manifests/defines.pp b/manifests/defines.pp index 0f52c23..eea5077 100644 --- a/manifests/defines.pp +++ b/manifests/defines.pp @@ -40,7 +40,7 @@ define git::web::repo::lighttpd( owner => root, group => 0, mode => 0644; } line{"add_include_of_gitwebrepo_${name}": - line => "Include /etc/lighttpd/gitweb.d/${name}.conf", + line => "include \"gitweb.d/${name}.conf\"", file => "/etc/lighttpd/lighttpd-gitweb.conf", require => File['/etc/lighttpd/lighttpd-gitweb.conf'], notify => Service['lighttpd'], -- cgit v1.2.3