@version: 3.0
<%- elsif has_variable?("syslogversion") and syslogversion.to_s == "3.5" -%>
@version: 3.5
+@include "scl.conf"
<%- else -%>
@version: 3.3
-<%- end -%>
@include "scl.conf"
+<%- end -%>
##
## THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE.
source s_local {
# message generated by Syslog-NG
internal();
+<%- 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 -%>
system();
+<%- end -%>
};
<%- if (hostname == "lotti") || (hostname == "lully") || (hostname == "loghost-grnet-01") -%>
source s_network {
- tcp6(port(5140) max-connections(200)
+ tcp6(port(5140) max-connections(400)
tls( key_file("/etc/exim4/ssl/thishost.key")
cert_file("/etc/exim4/ssl/thishost.crt")
ca_dir("/etc/exim4/ssl/")
<%- if hostname != "lotti" -%>
destination loghost-lotti {
tcp("lotti.debian.org" port (5140)
- tls( key_file("/etc/ssl/debian/keys/thishost.key")
+ tls( key_file("/etc/ssl/private/thishost.key")
cert_file("/etc/ssl/debian/certs/thishost.crt")
ca_dir("/etc/ssl/debian/certs/")
)
<%- if hostname != "lully" -%>
destination loghost-lully {
tcp("lully.debian.org" port (5140)
- tls( key_file("/etc/ssl/debian/keys/thishost.key")
+ tls( key_file("/etc/ssl/private/thishost.key")
cert_file("/etc/ssl/debian/certs/thishost.crt")
ca_dir("/etc/ssl/debian/certs/")
)
<%- if hostname != "loghost-grnet-01" -%>
destination loghost-loghost-grnet-01 {
tcp("loghost-grnet-01.debian.org" port (5140)
- tls( key_file("/etc/ssl/debian/keys/thishost.key")
+ tls( key_file("/etc/ssl/private/thishost.key")
cert_file("/etc/ssl/debian/certs/thishost.crt")
ca_dir("/etc/ssl/debian/certs/")
)