From: Julien Cristau Date: Fri, 8 Feb 2019 07:57:34 +0000 (+0100) Subject: syslog-ng: define fastly destination on all log hosts, not just lully X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=18c0f13969295f1989cfad3130ba0b52ddcb51a2;p=mirror%2Fdsa-puppet.git syslog-ng: define fastly destination on all log hosts, not just lully --- diff --git a/modules/syslog_ng/templates/syslog-ng.conf.erb b/modules/syslog_ng/templates/syslog-ng.conf.erb index d2940e1c0..614ef81a9 100644 --- a/modules/syslog_ng/templates/syslog-ng.conf.erb +++ b/modules/syslog_ng/templates/syslog-ng.conf.erb @@ -133,9 +133,7 @@ source s_network { ) ); }; -<%- end -%> -<%- if (@hostname == "lully") -%> source s_network_fastly { tcp6(port(5141) max-connections(100) tls( key_file("/etc/exim4/ssl/thishost.key") @@ -582,9 +580,8 @@ log { source(s_local); log { source(s_local); source(s_network); filter(f_syslog); destination(df_ALL_syslog); }; -<%- end -%> -<%- if (@hostname == "lully") -%> +## syslog endpoint for fastly services: destination fastly { file("/var/log/fastly.log"); }; log { source(s_network_fastly);