aboutsummaryrefslogtreecommitdiffstats
path: root/modules/xymon
diff options
context:
space:
mode:
Diffstat (limited to 'modules/xymon')
-rw-r--r--modules/xymon/manifests/client.pp10
1 files changed, 6 insertions, 4 deletions
diff --git a/modules/xymon/manifests/client.pp b/modules/xymon/manifests/client.pp
index 890430c6..6d0335ec 100644
--- a/modules/xymon/manifests/client.pp
+++ b/modules/xymon/manifests/client.pp
@@ -7,10 +7,12 @@ class xymon::client {
$service = 'xymon'
}
- service { $service:
- hasstatus => false,
- status => "${::lib_dir}/xymon/client/runclient.sh status",
- require => Package['xymon-client'],
+ if versioncmp($::lsbdistrelease, '5') < 0 {
+ service { $service:
+ hasstatus => false,
+ status => "${::lib_dir}/xymon/client/runclient.sh status",
+ require => Package['xymon-client'],
+ }
}
# TODO replace with a exported ressource