X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fsyslog-ng%2Ftemplates%2Fsyslog-ng.conf.erb;h=49de0042079a116fcb97a46a72126e0c0670cc0a;hb=ab25358b289f23003b7b992f926011e5f46bcc6e;hp=60ac374efd3b32c8759c4190c2ab638088fd5336;hpb=382a1eaabedfba1e92ad673e790fce960dcd2988;p=mirror%2Fdsa-puppet.git diff --git a/modules/syslog-ng/templates/syslog-ng.conf.erb b/modules/syslog-ng/templates/syslog-ng.conf.erb index 60ac374ef..49de00420 100644 --- a/modules/syslog-ng/templates/syslog-ng.conf.erb +++ b/modules/syslog-ng/templates/syslog-ng.conf.erb @@ -91,6 +91,9 @@ options { bad_hostname("^gconfd$"); keep_hostname(no); + + # We believe our own clock more than we believe the client clock. + keep_timestamp(no); }; @@ -121,7 +124,7 @@ source s_local { <%- end -%> }; -<%- if (hostname == "heininen") || (hostname == "lotti") -%> +<%- if (hostname == "lotti") || (hostname == "lully") -%> source s_network { tcp6(port(5140) max-connections(200) tls( key_file("/etc/exim4/ssl/thishost.key") @@ -399,9 +402,9 @@ log { <%- end -%> - <%- if hostname != "heininen" -%> -destination loghost-heininen { - tcp("heininen.debian.org" port (5140) + <%- if hostname != "lotti" -%> +destination loghost-lotti { + tcp("lotti.debian.org" port (5140) tls( key_file("/etc/ssl/debian/keys/thishost.key") cert_file("/etc/ssl/debian/certs/thishost.crt") ca_dir("/etc/ssl/debian/certs/") @@ -409,9 +412,9 @@ destination loghost-heininen { ); }; <%- end -%> - <%- if hostname != "lotti" -%> -destination loghost-lotti { - tcp("lotti.debian.org" port (5140) + <%- if hostname != "lully" -%> +destination loghost-lully { + tcp("lully.debian.org" port (5140) tls( key_file("/etc/ssl/debian/keys/thishost.key") cert_file("/etc/ssl/debian/certs/thishost.crt") ca_dir("/etc/ssl/debian/certs/") @@ -422,17 +425,17 @@ destination loghost-lotti { log { source(s_local); - <%- if hostname != "heininen" -%> - destination(loghost-heininen); - <%- end -%> <%- if hostname != "lotti" -%> destination(loghost-lotti); <%- end -%> + <%- if hostname != "lully" -%> + destination(loghost-lully); + <%- end -%> }; -<%- if (hostname == "heininen") || (hostname == "lotti") -%> +<%- if (hostname == "lotti") || (hostname == "lully") -%> ############################################################################### ########## ON LOG HOST ######################################################## ###############################################################################