projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mirror-anu must not be in apache2_www_mirror if it is in static
[mirror/dsa-puppet.git]
/
modules
/
syslog-ng
/
templates
/
syslog-ng.conf.erb
diff --git
a/modules/syslog-ng/templates/syslog-ng.conf.erb
b/modules/syslog-ng/templates/syslog-ng.conf.erb
index
7f78680
..
98c2fb2
100644
(file)
--- a/
modules/syslog-ng/templates/syslog-ng.conf.erb
+++ b/
modules/syslog-ng/templates/syslog-ng.conf.erb
@@
-2,9
+2,12
@@
@version: 3.0
<%- elsif has_variable?("syslogversion") and syslogversion.to_s == "3.5" -%>
@version: 3.5
@version: 3.0
<%- elsif has_variable?("syslogversion") and syslogversion.to_s == "3.5" -%>
@version: 3.5
+@include "scl.conf"
<%- else -%>
@version: 3.3
<%- else -%>
@version: 3.3
+@include "scl.conf"
<%- end -%>
<%- end -%>
+
##
## THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE.
## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git
##
## THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE.
## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git
@@
-104,18
+107,14
@@
options {
source s_local {
# message generated by Syslog-NG
internal();
source s_local {
# message generated by Syslog-NG
internal();
-<%- if
kernel == 'Linux'
-%>
+<%- if
has_variable?("syslogversion") and syslogversion.to_s == "3.1"
-%>
# standard Linux log source (this is the default place for the syslog()
# function to send logs to)
unix-stream("/dev/log");
# messages from the kernel
file("/proc/kmsg" program_override("kernel: "));
<%- else -%>
# standard Linux log source (this is the default place for the syslog()
# function to send logs to)
unix-stream("/dev/log");
# messages from the kernel
file("/proc/kmsg" program_override("kernel: "));
<%- else -%>
- # standard Linux log source (this is the default place for the syslog()
- # function to send logs to)
- unix-dgram("/var/run/log");
- # messages from the kernel
- file("/dev/klog" program_override("kernel: ") follow-freq(1));
+ system();
<%- end -%>
};
<%- end -%>
};