From badbd135d22d85cbbda317da76db834f52784b8d Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sun, 29 Sep 2019 16:24:44 +0200 Subject: [PATCH] allow the backup hosts to access the salsa pg again --- modules/salsa/manifests/database.pp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/modules/salsa/manifests/database.pp b/modules/salsa/manifests/database.pp index 24647a3b1..32a53a716 100644 --- a/modules/salsa/manifests/database.pp +++ b/modules/salsa/manifests/database.pp @@ -37,14 +37,15 @@ class salsa::database inherits salsa { } } - include postgres::backup_source - + ferm::rule::simple { "pgport": + description => "check access to pg port", + port => $postgresql::params::port, + target => "pg-${postgresql::params::port}", + } postgres::backup_cluster { $::hostname: pg_version => $postgresql::params::version, pg_port => $postgresql::params::port, do_role => true, do_hba => true, } - - include postgres::backup_server::register_backup_clienthost } -- 2.20.1