From 3ed94f1ce57fb84cc8d22a0f45d9fe11217135b7 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Mon, 27 Feb 2017 21:47:08 +0100 Subject: [PATCH] backup hosts to buxtehude --- modules/ferm/manifests/per-host.pp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/modules/ferm/manifests/per-host.pp b/modules/ferm/manifests/per-host.pp index 4e4921b6a..7db3c2dbd 100644 --- a/modules/ferm/manifests/per-host.pp +++ b/modules/ferm/manifests/per-host.pp @@ -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 -- 2.20.1