diff options
author | Michael Scherer <misc@mageia.org> | 2012-01-16 15:14:16 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2012-01-16 15:14:16 +0000 |
commit | c6623547766bd5d6a3771eafbe49699a9c052f18 (patch) | |
tree | d24fd9a7313b152eceea21caae219c350170c4be /modules/xymon/manifests | |
parent | 6d9a13f304b1edaddbb2f61bd20a791c4aa635e6 (diff) | |
download | puppet-c6623547766bd5d6a3771eafbe49699a9c052f18.tar puppet-c6623547766bd5d6a3771eafbe49699a9c052f18.tar.gz puppet-c6623547766bd5d6a3771eafbe49699a9c052f18.tar.bz2 puppet-c6623547766bd5d6a3771eafbe49699a9c052f18.tar.xz puppet-c6623547766bd5d6a3771eafbe49699a9c052f18.zip |
fix xymon to not be restarted every time puppet is run, thanks to buchan for noticing
Diffstat (limited to 'modules/xymon/manifests')
-rw-r--r-- | modules/xymon/manifests/init.pp | 5 |
1 files changed, 3 insertions, 2 deletions
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 { |