summaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp10
1 files changed, 9 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 9874f99..cc6351c 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -17,8 +17,16 @@ class lighttpd::base {
service{lighttpd:
ensure => running,
enable => true,
- #hasstatus => true, #fixme!
+ hasstatus => true,
require => Package[lighttpd],
}
+ file{'/etc/lighttpd/lighttpd.conf':
+ source => [ "puppet://$server/files/lighttpd/${fqdn}/lighttpd.conf",
+ "puppet://$server/files/lighttpd/lighttpd.conf",
+ "puppet://$server/lighttpd/lighttpd.conf" ],
+ require => Package['lighttpd'],
+ notify => Service['lighttpd'],
+ owner => root, group => 0, mode => 0644;
+ }
}