Attempt to fix version comparisons
[mirror/dsa-puppet.git] / modules / samhain / templates / samhainrc.erb
index 018a05e..93116ac 100644 (file)
@@ -835,7 +835,7 @@ SyslogSeverity=alert
 #
 # SetDefault = no
 
-<% if @lsbmajdistrelease >= '9' -%>
+<% if scope.call_function('versioncmp', [@lsbmajdistrelease, '9']) >= 0 -%>
 [PortCheck]
 PortCheckActive=0
 <% end -%>