blob: 36fb2d16eb24e6c37c60e5b61f7db6966f84faa1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
class check_mk::service {
if ! defined(Service[$check_mk::http_service_name]) {
service { $check_mk::http_service_name:
ensure => 'running',
enable => true,
}
}
# FIXME: this should get and check $use_ssh before doing this
if ! defined(Service[xinetd]) {
service { 'xinetd':
ensure => 'running',
name => $check_mk::xinitd_service_name,
hasstatus => false,
enable => true,
}
}
service { 'omd':
ensure => 'running',
name => $check_mk::omd_service_name,
enable => true,
}
}
|