From 8dfab26e68a24748f2f8970cec70a87ffb5f87be Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Wed, 17 Aug 2011 21:59:47 +0000 Subject: service xymon will not work without the rpm --- modules/xymon/manifests/init.pp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'modules/xymon/manifests') diff --git a/modules/xymon/manifests/init.pp b/modules/xymon/manifests/init.pp index 487ff979..3a3a2a51 100644 --- a/modules/xymon/manifests/init.pp +++ b/modules/xymon/manifests/init.pp @@ -4,10 +4,13 @@ class xymon { package { xymon-client: ensure => installed, } + service { xymon-client: ensure => running, path => '/etc/init.d/xymon-client', + require => Package['xymon-client'], } + # TODO replace with a exported ressource $server = extlookup('hobbit_server','x') file { '/etc/sysconfig/xymon-client': -- cgit v1.2.1