summaryrefslogtreecommitdiff
path: root/manifests/init.pp
blob: 767f89be4728c9cf984aa7b0699536ffe7067b29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# manifests/init.pp - manage lighttpd stuff
# Copyright (C) 2007 admin@immerda.ch
# GPLv3

class lighttpd(
  $cluster_node     = '',
  $manage_munin     = false,
  $manage_shorewall = false
) {
  case $::operatingsystem {
    debian,ubuntu: { include lighttpd::debian }
    centos,redhat,fedora: { include lighttpd::centos }
    default: { include lighttpd::base }
  }

  if $manage_shorewall {
    include shorewall::rules::http
  }
  if $manage_munin {
    include lighttpd::munin
  }
}