From 8a5d94fb7a1b7aa7bd2d7186f6be31d19c927ee1 Mon Sep 17 00:00:00 2001 From: Frank Wall Date: Wed, 12 Nov 2025 14:44:34 +0100 Subject: [PATCH] fix java gateway on Zabbix 7 --- manifests/javagateway.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/javagateway.pp b/manifests/javagateway.pp index 721af3520..41f951196 100644 --- a/manifests/javagateway.pp +++ b/manifests/javagateway.pp @@ -27,7 +27,7 @@ # Fix for pid file. Is different in Zabbix (4, 5) and 6 $real_pidfile = $zabbix_version ? { /^[45]\.[024]/ => pick($pidfile, '/var/run/zabbix/zabbix_java.pid'), - /^[6]\.[024]/ => pick($pidfile, '/var/run/zabbix/zabbix_java_gateway.pid'), + /^[67]\.[024]/ => pick($pidfile, '/var/run/zabbix/zabbix_java_gateway.pid'), } # Only include the repo class if it has not yet been included unless defined(Class['Zabbix::Repo']) {