projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove stray punctuation
[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
6a3688c
..
bb35177
100644
(file)
--- a/
modules/syslog_ng/templates/syslog-ng.conf.erb
+++ b/
modules/syslog_ng/templates/syslog-ng.conf.erb
@@
-132,6
+132,16
@@
source s_network {
};
<%- end -%>
};
<%- end -%>
+<%- if (@hostname == "lully") -%>
+source s_network_fastly {
+ tcp6(port(5141) max-connections(100)
+ tls( key_file("/etc/exim4/ssl/thishost.key")
+ cert_file("/etc/exim4/ssl/thishost.crt")
+ peer-verify(optional-untrusted))
+ );
+};
+<%- end -%>
+
######
# destinations
######
# destinations
@@
-557,3
+567,11
@@
log { source(s_local);
source(s_network);
filter(f_syslog); destination(df_ALL_syslog); };
<%- end -%>
source(s_network);
filter(f_syslog); destination(df_ALL_syslog); };
<%- end -%>
+
+<%- if (@hostname == "lully") -%>
+destination fastly { file("/var/log/fastly.log"); };
+
+log { source(s_network_fastly);
+ destination(fastly); };
+
+<%- end -%>