diff options
Diffstat (limited to 'puppet/modules/check_mk/manifests/service.pp')
m--------- | puppet/modules/check_mk | 0 | ||||
-rw-r--r-- | puppet/modules/check_mk/manifests/service.pp | 23 |
2 files changed, 23 insertions, 0 deletions
diff --git a/puppet/modules/check_mk b/puppet/modules/check_mk deleted file mode 160000 -Subproject aa02571537af90ac73309e6e216c9417802548c diff --git a/puppet/modules/check_mk/manifests/service.pp b/puppet/modules/check_mk/manifests/service.pp new file mode 100644 index 00000000..36fb2d16 --- /dev/null +++ b/puppet/modules/check_mk/manifests/service.pp @@ -0,0 +1,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, + } +} |