summaryrefslogtreecommitdiff
path: root/manifests/init.pp
blob: 172849cdc1263dc5bd0345f9c846340eb7252c54 (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 $lighthttpd::manage_shorewall {
    include shorewall::rules::http
  }
  if $lighthttpd::manage_munin {
    include lighttpd::munin
  }
}