aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Lécureuil <neoclust@mageia.org>2017-04-11 00:34:06 +0200
committerNicolas Lécureuil <neoclust@mageia.org>2017-04-11 00:34:06 +0200
commit1c7d042c790358291bf06126174b1f4c37861d5f (patch)
tree8a1cf2d71fbc0df035d59e1d98d5bde51ea9651c
parentc31cbc981c61ee6655e634c1bc2a83a468d2f8b5 (diff)
downloadpuppet-1c7d042c790358291bf06126174b1f4c37861d5f.tar
puppet-1c7d042c790358291bf06126174b1f4c37861d5f.tar.gz
puppet-1c7d042c790358291bf06126174b1f4c37861d5f.tar.bz2
puppet-1c7d042c790358291bf06126174b1f4c37861d5f.tar.xz
puppet-1c7d042c790358291bf06126174b1f4c37861d5f.zip
Revert "Use better and fix for xymon on mga > 5, thanks blino"
-rw-r--r--modules/xymon/manifests/client.pp6
1 files changed, 2 insertions, 4 deletions
diff --git a/modules/xymon/manifests/client.pp b/modules/xymon/manifests/client.pp
index 50b1ec53..890430c6 100644
--- a/modules/xymon/manifests/client.pp
+++ b/modules/xymon/manifests/client.pp
@@ -8,10 +8,8 @@ class xymon::client {
}
service { $service:
- if versioncmp($::lsbdistrelease, '5') < 0 {
- hasstatus => false,
- status => "${::lib_dir}/xymon/client/runclient.sh status",
- }
+ hasstatus => false,
+ status => "${::lib_dir}/xymon/client/runclient.sh status",
require => Package['xymon-client'],
}