From c6623547766bd5d6a3771eafbe49699a9c052f18 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Mon, 16 Jan 2012 15:14:16 +0000 Subject: fix xymon to not be restarted every time puppet is run, thanks to buchan for noticing --- modules/xymon/manifests/init.pp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'modules/xymon/manifests') diff --git a/modules/xymon/manifests/init.pp b/modules/xymon/manifests/init.pp index c870d21e..d20bf795 100644 --- a/modules/xymon/manifests/init.pp +++ b/modules/xymon/manifests/init.pp @@ -19,8 +19,9 @@ class xymon { package { ["xymon","fping"]: } service { xymon: - ensure => running, - path => '/etc/init.d/xymon', + hasstatus => false, + status => "su xymon -c '/usr/lib64/xymon/server/hobbit.sh status'", + require => Package['xymon'], } File { -- cgit v1.2.1