Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion manifests/javagateway.pp
Original file line number Diff line number Diff line change
Expand Up @@ -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']) {
Expand Down
Loading