summaryrefslogtreecommitdiff
path: root/manifests/init.pp
blob: 52337592aac40fb3e7dfd0b922b99e78bd49d803 (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
class check_mk (
  $filestore            = undef,
  $host_groups          = undef,
  $package              = 'omd-0.56',
  $site                 = 'monitoring',
  $workspace            = '/root/check_mk',
  $omd_service_name     = 'omd',
  $http_service_name    = 'httpd',
  $xinitd_service_name  = 'xinitd' ) {

  class { 'check_mk::install':
    filestore => $filestore,
    package   => $package,
    site      => $site,
    workspace => $workspace,
  }
  class { 'check_mk::config':
    host_groups => $host_groups,
    site        => $site,
    require     => Class['check_mk::install'],
  }
  class { 'check_mk::service':
    require   => Class['check_mk::config'],
  }
}