Signed-off-by: Stephen Gran <steve@lobefin.net>
-<%- if (hostname != "heininen") && (hostname != "lotti") -%>
- <%- if has_variable?("syslogversion") and syslogversion.to_s == "3" -%>
+<%- if has_variable?("syslogversion") and syslogversion.to_s == "3" -%>
+ <%- if hostname != "heininen" -%>
destination loghost-heininen {
tcp("heininen.debian.org" port (5140)
tls( key_file("/etc/ssl/debian/keys/thishost.key")
destination loghost-heininen {
tcp("heininen.debian.org" port (5140)
tls( key_file("/etc/ssl/debian/keys/thishost.key")
+ <%- end -%>
+ <%- if hostname != "lotti" -%>
destination loghost-lotti {
tcp("lotti.debian.org" port (5140)
tls( key_file("/etc/ssl/debian/keys/thishost.key")
destination loghost-lotti {
tcp("lotti.debian.org" port (5140)
tls( key_file("/etc/ssl/debian/keys/thishost.key")
+ <%- if hostname != "heininen" -%>
destination(loghost-heininen);
destination(loghost-heininen);
+ <%- end -%>
+ <%- if hostname != "lotti" -%>
destination(loghost-lotti);
destination(loghost-lotti);