summaryrefslogtreecommitdiff
path: root/manifests/service.pp
blob: da50e4eebe3a35ded26df175b8c3a91d77611969 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
class check_mk::service {

  if ! defined(Service[$check_mk::http_service_name]) {
    service { $check_mk::http_service_name:
      ensure => 'running',
      enable => true,
    }
  }
  if ! defined(Service[xinetd]) {
    service { 'xinetd':
      ensure => 'running',
      name   => $check_mk::xinitd_service_name,
      enable => true,
    }
  }
  service { 'omd':
    ensure => 'running',
    name   => $check_mk::omd_service_name,
    enable => true,
  }
}