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

class lighttpd {
  case $operatingsystem {
    debian,ubuntu: { include lighttpd::debian }
    centos,redhat,fedora: { include lighttpd::centos }
    default: { include lighttpd::base }
  }

  if $use_shorewall {
    include shorewall::rules::http
  }
  if $use_munin {
    include lighttpd::munin
  }
}