From: Aurelien Jarno Date: Fri, 27 Sep 2019 22:04:53 +0000 (+0200) Subject: ferm: do not open PG to backup hosts for clusters defined in backup_source X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=5c6d90d1ea56415d05c81dee6574e4f467cd766e;p=mirror%2Fdsa-puppet.git ferm: do not open PG to backup hosts for clusters defined in backup_source --- diff --git a/modules/ferm/manifests/per_host.pp b/modules/ferm/manifests/per_host.pp index c4d47d725..f3db6ff8a 100644 --- a/modules/ferm/manifests/per_host.pp +++ b/modules/ferm/manifests/per_host.pp @@ -172,7 +172,6 @@ class ferm::per_host { rule => @("EOF"/$) &SERVICE_RANGE(tcp, 5432, ( ${ join(getfromhash($deprecated::allnodeinfo, 'ticharich.debian.org', 'ipHostNumber'), " ") } - \$HOST_PGBACKUPHOST )) | EOF } @@ -184,7 +183,6 @@ class ferm::per_host { ${ join(getfromhash($deprecated::allnodeinfo, 'diabelli.debian.org', 'ipHostNumber'), " ") } ${ join(getfromhash($deprecated::allnodeinfo, 'nono.debian.org', 'ipHostNumber'), " ") } ${ join(getfromhash($deprecated::allnodeinfo, 'reger.debian.org', 'ipHostNumber'), " ") } - \$HOST_PGBACKUPHOST )) | EOF } @@ -194,7 +192,6 @@ class ferm::per_host { rule => @("EOF"/$) &SERVICE_RANGE(tcp, 5434, ( ${ join(getfromhash($deprecated::allnodeinfo, 'debussy.debian.org', 'ipHostNumber'), " ") } - \$HOST_PGBACKUPHOST )) | EOF } @@ -206,7 +203,6 @@ class ferm::per_host { ${ join(getfromhash($deprecated::allnodeinfo, 'respighi.debian.org', 'ipHostNumber'), " ") } ${ join(getfromhash($deprecated::allnodeinfo, 'wuiet.debian.org', 'ipHostNumber'), " ") } ${ join(getfromhash($deprecated::allnodeinfo, 'ullmann.debian.org', 'ipHostNumber'), " ") } - \$HOST_PGBACKUPHOST )) | EOF } @@ -219,7 +215,6 @@ class ferm::per_host { &SERVICE_RANGE(tcp, 5432, ( ${ join(getfromhash($deprecated::allnodeinfo, 'dinis.debian.org', 'ipHostNumber'), " ") } ${ join(getfromhash($deprecated::allnodeinfo, 'storace.debian.org', 'ipHostNumber'), " ") } - \$HOST_PGBACKUPHOST )) | EOF }