add vittoria to ferm rules
authorMartin Zobel-Helas <zobel@debian.org>
Sat, 26 Dec 2015 12:39:13 +0000 (12:39 +0000)
committerMartin Zobel-Helas <zobel@debian.org>
Sat, 26 Dec 2015 12:39:13 +0000 (12:39 +0000)
Signed-off-by: Martin Zobel-Helas <zobel@debian.org>
modules/ferm/manifests/per-host.pp

index 0d1b9e1..f08f021 100644 (file)
@@ -473,6 +473,17 @@ class ferm::per-host {
                                rule            => '&SERVICE_RANGE(tcp, 5439, ( 2001:1af8:4020:b030::/64 ))'
                        }
                }
+               vittoria: {
+                       @ferm::rule { 'dsa-postgres-backup':
+                               description     => 'Allow postgress access',
+                               rule            => '&SERVICE_RANGE(tcp, 5432, ( $HOST_PGBACKUPHOST_V4 ))'
+                       }
+                       @ferm::rule { 'dsa-postgres-backup6':
+                               domain          => 'ip6',
+                               description     => 'Allow postgress access',
+                               rule            => '&SERVICE_RANGE(tcp, 5432, ( $HOST_PGBACKUPHOST_V6 ))'
+                       }
+               }
                default: {}
        }
        # vpn fu