Note that exim contains tracker-specific configuration
[mirror/dsa-puppet.git] / modules / roles / manifests / release.pp
1 # release.debian.org role
2 #
3 # @param db_address     hostname of the postgres server for this service
4 # @param db_port        port of the postgres server for this service
5 class roles::release (
6   String  $db_address,
7   Integer $db_port,
8 ) {
9   include roles::buildd_master::db_guest_access
10   include roles::udd::db_guest_access
11   include roles::postgresql::ftp_master_dak_replica::db_guest_access::bm
12
13   @@postgres::cluster::hba_entry { "release-${::fqdn}":
14     tag      => "postgres::cluster::${db_port}::hba::${db_address}",
15     pg_port  => $db_port,
16     database => 'release',
17     user     => 'release',
18     address  => $base::public_addresses,
19   }
20 }