summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2009-01-10 14:47:26 +0000
committermh <mh@immerda.ch>2009-01-10 14:47:26 +0000
commit3e2ee6c783fc6d669b7e63b702fb0a670f56b062 (patch)
treeb2f6984eb3d619805bbaf70ad2b4c92462333335 /manifests
parenta164d760689a466c45db4c1aecc62e8de0510ab6 (diff)
downloadpuppet-lighttpd-3e2ee6c783fc6d669b7e63b702fb0a670f56b062.tar.gz
puppet-lighttpd-3e2ee6c783fc6d669b7e63b702fb0a670f56b062.tar.bz2
added default config for lighttpd, added template for default index
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp9
1 files changed, 9 insertions, 0 deletions
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;
+ }
+
}