From 3e2ee6c783fc6d669b7e63b702fb0a670f56b062 Mon Sep 17 00:00:00 2001 From: mh Date: Sat, 10 Jan 2009 14:47:26 +0000 Subject: added default config for lighttpd, added template for default index --- manifests/init.pp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'manifests') diff --git a/manifests/init.pp b/manifests/init.pp index cc6351c..e1a9625 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -29,4 +29,13 @@ class lighttpd::base { notify => Service['lighttpd'], owner => root, group => 0, mode => 0644; } + + # ToDo: put that in a common module to share with apache + file { 'default_lighttpd_index': + path => '/srv/www/lighttpd/index.html', + ensure => file, + content => template('lighttpd/default/default_index.erb'), + owner => root, group => 0, mode => 0644; + } + } -- cgit v1.2.3