From a164d760689a466c45db4c1aecc62e8de0510ab6 Mon Sep 17 00:00:00 2001 From: mh Date: Thu, 8 Jan 2009 23:19:37 +0000 Subject: added config file --- manifests/init.pp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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; + } } -- cgit v1.2.3