From 2f225ac0e2079d80aaaa02b70554dd10cb019f68 Mon Sep 17 00:00:00 2001 From: Paul Wise Date: Sun, 26 Oct 2014 13:28:03 +0800 Subject: [PATCH] Set the correct syslog-ng version number on hosts with syslog-ng 3.5 --- modules/syslog-ng/templates/syslog-ng.conf.erb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/syslog-ng/templates/syslog-ng.conf.erb b/modules/syslog-ng/templates/syslog-ng.conf.erb index bb8770af9..7f78680b7 100644 --- a/modules/syslog-ng/templates/syslog-ng.conf.erb +++ b/modules/syslog-ng/templates/syslog-ng.conf.erb @@ -1,5 +1,7 @@ <%- if has_variable?("syslogversion") and syslogversion.to_s == "3.1" -%> @version: 3.0 +<%- elsif has_variable?("syslogversion") and syslogversion.to_s == "3.5" -%> +@version: 3.5 <%- else -%> @version: 3.3 <%- end -%> -- 2.20.1