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 # @param qa_buildlogchecks_db_address hostname of the postgres server for this service
6 # @param qa_buildlogchecks_db_port port of the postgres server for this service
7 class roles::qamaster (
10 String $qa_buildlogchecks_db_address = lookup('roles::buildd_master::qa_buildlogchecks_db_address'),
11 Integer $qa_buildlogchecks_db_port = lookup('roles::buildd_master::qa_buildlogchecks_db_port'),
16 ssl::service { 'qa.debian.org': notify => Exec['service apache2 reload'], key => true, }
18 exim::vdomain { 'qa.debian.org':
23 include roles::udd::db_guest_access
25 @@postgres::cluster::hba_entry { "qa-${::fqdn}":
26 tag => "postgres::cluster::${db_port}::hba::${db_address}",
29 user => ['qa', 'qaweb'],
30 address => $base::public_addresses,
32 @@postgres::cluster::hba_entry { "qa-guest-${::fqdn}":
33 tag => "postgres::cluster::${db_port}::hba::${db_address}",
37 address => $base::public_addresses,
40 @@postgres::cluster::hba_entry { "qa-buildlogchecks-guest-${::fqdn}":
41 tag => "postgres::cluster::${qa_buildlogchecks_db_port}::hba::${qa_buildlogchecks_db_address}",
42 pg_port => $qa_buildlogchecks_db_port,
43 database => 'qa-buildlogchecks',
45 address => $base::public_addresses,