ferm@serger: merge dsa-postgres-backup and dsa-postgres-backup6
authorAurelien Jarno <aurelien@aurel32.net>
Sat, 28 Sep 2019 09:27:19 +0000 (11:27 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Sat, 28 Sep 2019 09:27:19 +0000 (11:27 +0200)
modules/ferm/manifests/per_host.pp

index f3db6ff..2e995dc 100644 (file)
@@ -222,12 +222,8 @@ class ferm::per_host {
     seger: {
       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 ))'
+        domain      => '(ip ip6)',
+        rule        => '&SERVICE_RANGE(tcp, 5432, ( $HOST_PGBACKUPHOST ))'
       }
     }
     sallinen: {