aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/xymon/manifests/client.pp6
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/xymon/manifests/client.pp b/modules/xymon/manifests/client.pp
index 890430c6..50b1ec53 100644
--- a/modules/xymon/manifests/client.pp
+++ b/modules/xymon/manifests/client.pp
@@ -8,8 +8,10 @@ class xymon::client {
}
service { $service:
- hasstatus => false,
- status => "${::lib_dir}/xymon/client/runclient.sh status",
+ if versioncmp($::lsbdistrelease, '5') < 0 {
+ hasstatus => false,
+ status => "${::lib_dir}/xymon/client/runclient.sh status",
+ }
require => Package['xymon-client'],
}