syslog-ng: define fastly destination on all log hosts, not just lully
[mirror/dsa-puppet.git] / modules / syslog_ng / templates / syslog-ng.conf.erb
index d2940e1..614ef81 100644 (file)
@@ -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);