diff options
-rw-r--r-- | manifests/init.pp | 10 |
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; + } } |