From: mh Date: Thu, 8 Jan 2009 22:58:28 +0000 (+0000) Subject: added lighttpd module X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=1f1c7cc1d5ea9041505ad6824781955a5c80b2e5;p=puppet-lighttpd.git added lighttpd module --- 1f1c7cc1d5ea9041505ad6824781955a5c80b2e5 diff --git a/manifests/init.pp b/manifests/init.pp new file mode 100644 index 0000000..9874f99 --- /dev/null +++ b/manifests/init.pp @@ -0,0 +1,24 @@ +# manifests/init.pp - manage lighttpd stuff +# Copyright (C) 2007 admin@immerda.ch +# GPLv3 + + +class lighttpd { + case $operatingsystem { + default: { include lighttpd::base } + } +} + +class lighttpd::base { + package{'lighttpd': + ensure => installed, + } + + service{lighttpd: + ensure => running, + enable => true, + #hasstatus => true, #fixme! + require => Package[lighttpd], + } + +}