summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2009-01-08 22:58:28 +0000
committermh <mh@immerda.ch>2009-01-08 22:58:28 +0000
commit1f1c7cc1d5ea9041505ad6824781955a5c80b2e5 (patch)
tree557fbc24ef1566e478a45888353cdc991da146f4 /manifests
downloadpuppet-lighttpd-1f1c7cc1d5ea9041505ad6824781955a5c80b2e5.tar.gz
puppet-lighttpd-1f1c7cc1d5ea9041505ad6824781955a5c80b2e5.tar.bz2
added lighttpd module
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp24
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],
+ }
+
+}