From 1f1c7cc1d5ea9041505ad6824781955a5c80b2e5 Mon Sep 17 00:00:00 2001 From: mh Date: Thu, 8 Jan 2009 22:58:28 +0000 Subject: added lighttpd module --- manifests/init.pp | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 manifests/init.pp 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], + } + +} -- cgit v1.2.3