From 7b3b5e0bbd1774de97332225f1ad44a04d511dee Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Wed, 6 Jan 2016 23:56:11 +0100 Subject: xymon: fix client config file to use XYMONSERVERS for Mageia >= 5 --- modules/xymon/templates/xymon-client | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'modules/xymon') diff --git a/modules/xymon/templates/xymon-client b/modules/xymon/templates/xymon-client index 1635457c..6bbdd836 100644 --- a/modules/xymon/templates/xymon-client +++ b/modules/xymon/templates/xymon-client @@ -10,7 +10,11 @@ # or (multiple servers) # HOBBITSERVERS="10.0.0.1 192.168.1.1" +<% if scope.function_versioncmp([lsbdistrelease, '5']) >= 0 %> +XYMONSERVERS="<%= server %>" +<% else %> HOBBITSERVERS="<%= server %>" +<% end %> # The defaults usually suffice for the rest of this file, # but you can tweak the hostname that the client reports -- cgit v1.2.1