X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fsalsa%2Fmanifests%2Fdatabase.pp;h=32a53a716fd4ff9669af4102fdac32d013612137;hb=badbd135d22d85cbbda317da76db834f52784b8d;hp=24647a3b1151046bfa41dfd6aa50b1f2d74be8c7;hpb=7ca975698c14415282e911881890b3b7d8f8dc68;p=mirror%2Fdsa-puppet.git 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 }