projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
928fe73
)
Set the correct syslog-ng version number on hosts with syslog-ng 3.5
author
Paul Wise
<pabs@debian.org>
Sun, 26 Oct 2014 05:28:03 +0000
(13:28 +0800)
committer
Paul Wise
<pabs@debian.org>
Sun, 26 Oct 2014 05:28:25 +0000
(13:28 +0800)
modules/syslog-ng/templates/syslog-ng.conf.erb
patch
|
blob
|
history
diff --git
a/modules/syslog-ng/templates/syslog-ng.conf.erb
b/modules/syslog-ng/templates/syslog-ng.conf.erb
index
bb8770a
..
7f78680
100644
(file)
--- 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 -%>