]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
new loghost loghost-grnet-01
authorMartin Zobel-Helas <zobel@debian.org>
Sat, 11 Oct 2014 21:31:52 +0000 (21:31 +0000)
committerMartin Zobel-Helas <zobel@debian.org>
Sat, 11 Oct 2014 21:32:12 +0000 (21:32 +0000)
Signed-off-by: Martin Zobel-Helas <zobel@debian.org>
modules/syslog-ng/templates/syslog-ng.conf.erb

index c2278e3e0eba2bb466f2c6e5e7f81d67bc1166f4..62cdc5c7bd19b5b19b288fb9c111b3977069f369 100644 (file)
@@ -117,7 +117,7 @@ source s_local {
 <%- end -%>
 };
 
-<%- if (hostname == "lotti") || (hostname == "lully") -%>
+<%- if (hostname == "lotti") || (hostname == "lully") || (hostname == "loghost-grnet-01") -%>
 source s_network {
        tcp6(port(5140) max-connections(200)
                tls( key_file("/etc/exim4/ssl/thishost.key")
@@ -413,6 +413,16 @@ destination loghost-lully {
                     ca_dir("/etc/ssl/debian/certs/")
                )
        );
+};
+ <%- end -%>
+  <%- if hostname != "loghost-grnet-01" -%>
+destination loghost-loghost-grnet-01 {
+       tcp("loghost-grnet-01.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/")
+               )
+       );
 };
  <%- end -%>
 
@@ -424,11 +434,14 @@ log {
  <%- if hostname != "lully" -%>
        destination(loghost-lully);
  <%- end -%>
+ <%- if hostname != "loghost01-grnet-01" -%>
+       destination(loghost-loghost-grnet-01);
+ <%- end -%>
 };
 
 
 
-<%- if (hostname == "lotti") || (hostname == "lully") -%>
+<%- if (hostname == "lotti") || (hostname == "lully") || (hostname == "loghost-grnet-01") -%>
 ###############################################################################
 ########## ON LOG HOST ########################################################
 ###############################################################################