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

class ejabberd(
  $domains          = $::fqdn,
  $nagios_domain    = $::fqdn,
  $nagios_user      = 'nagios',
  $nagios_pwd       = '',
  $manage_nagios    = false,
  $manage_munin     = false,
  $manage_shorewall = false
) {
  case $::operatingsystem {
    default: { include ejabberd::base }
  }
  if $manage_nagios {
    include ejabberd::nagios
  }

  if $manage_munin {
    include ejabberd::munin
  }

  if $manage_shorewall {
    include shorewall::rules::jabberserver
  }
}