From: mh Date: Thu, 8 Jan 2009 23:19:37 +0000 (+0000) Subject: added config file X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=a164d760689a466c45db4c1aecc62e8de0510ab6;p=puppet-lighttpd.git added config file --- 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; + } }