]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
Replace heininen with lully
authorPeter Palfrader <peter@palfrader.org>
Wed, 16 May 2012 11:11:52 +0000 (13:11 +0200)
committerPeter Palfrader <peter@palfrader.org>
Wed, 16 May 2012 11:11:52 +0000 (13:11 +0200)
modules/ferm/manifests/per-host.pp
modules/syslog-ng/templates/syslog-ng.conf.erb

index 82f9eb8e7aecfddf0040e4e05c3a0e459e8a86b1..13980a162f607a89293b07dcc7d432be80dc4c82 100644 (file)
@@ -51,7 +51,7 @@ class ferm::per-host {
                                rule            => 'proto tcp dport 8000:8100 jump ACCEPT'
                        }
                }
-               heininen,lotti: {
+               lotti,lully: {
                        @ferm::rule { 'dsa-syslog':
                                description     => 'Allow syslog access',
                                rule            => '&SERVICE_RANGE(tcp, 5140, $HOST_DEBIAN_V4)'
index 60ac374efd3b32c8759c4190c2ab638088fd5336..f2486d7eb69e4abe4ee6b4dfb45abca2613a9521 100644 (file)
@@ -121,7 +121,7 @@ source s_local {
 <%- end -%>
 };
 
-<%- if (hostname == "heininen") || (hostname == "lotti") -%>
+<%- if (hostname == "lotti") || (hostname == "lully") -%>
 source s_network {
        tcp6(port(5140) max-connections(200)
                tls( key_file("/etc/exim4/ssl/thishost.key")
@@ -399,9 +399,9 @@ log {
 <%- end -%>
 
 
 <%- if hostname != "heininen" -%>
-destination loghost-heininen {
-       tcp("heininen.debian.org" port (5140)
<%- if hostname != "lotti" -%>
+destination loghost-lotti {
+       tcp("lotti.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/")
@@ -409,9 +409,9 @@ destination loghost-heininen {
        );
 };
  <%- end -%>
<%- if hostname != "lotti" -%>
-destination loghost-lotti {
-       tcp("lotti.debian.org" port (5140)
 <%- if hostname != "lully" -%>
+destination loghost-lully {
+       tcp("lully.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/")
@@ -422,17 +422,17 @@ destination loghost-lotti {
 
 log {
        source(s_local);
- <%- if hostname != "heininen" -%> 
-       destination(loghost-heininen);
- <%- end -%>
  <%- if hostname != "lotti" -%>
        destination(loghost-lotti);
  <%- end -%>
+ <%- if hostname != "lully" -%>
+       destination(loghost-lully);
+ <%- end -%>
 };
 
 
 
-<%- if (hostname == "heininen") || (hostname == "lotti") -%>
+<%- if (hostname == "lotti") || (hostname == "lully") -%>
 ###############################################################################
 ########## ON LOG HOST ########################################################
 ###############################################################################