backup hosts to buxtehude
authorPeter Palfrader <peter@palfrader.org>
Mon, 27 Feb 2017 20:47:08 +0000 (21:47 +0100)
committerPeter Palfrader <peter@palfrader.org>
Mon, 27 Feb 2017 20:47:08 +0000 (21:47 +0100)
modules/ferm/manifests/per-host.pp

index 4e4921b..7db3c2d 100644 (file)
@@ -352,6 +352,17 @@ class ferm::per-host {
                                rule            => '&SERVICE_RANGE(tcp, 5432, ( $HOST_PGBACKUPHOST_V6 ))'
                        }
                }
+               buxtehude: {
+                       @ferm::rule { 'dsa-postgres-backup':
+                               description     => 'Allow postgress access',
+                               rule            => '&SERVICE_RANGE(tcp, (5433 5441), ( $HOST_PGBACKUPHOST_V4 ))'
+                       }
+                       @ferm::rule { 'dsa-postgres-backup6':
+                               domain          => 'ip6',
+                               description     => 'Allow postgress access',
+                               rule            => '&SERVICE_RANGE(tcp, (5433 5441), ( $HOST_PGBACKUPHOST_V6 ))'
+                       }
+               }
                default: {}
        }
        # vpn fu