diff options
author | mh <mh@immerda.ch> | 2009-01-08 22:58:28 +0000 |
---|---|---|
committer | mh <mh@immerda.ch> | 2009-01-08 22:58:28 +0000 |
commit | 1f1c7cc1d5ea9041505ad6824781955a5c80b2e5 (patch) | |
tree | 557fbc24ef1566e478a45888353cdc991da146f4 | |
download | puppet-lighttpd-1f1c7cc1d5ea9041505ad6824781955a5c80b2e5.tar.gz puppet-lighttpd-1f1c7cc1d5ea9041505ad6824781955a5c80b2e5.tar.bz2 |
added lighttpd module
-rw-r--r-- | manifests/init.pp | 24 |
1 files changed, 24 insertions, 0 deletions
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], + } + +} |