diff --git a/data/deployments/staging/common.yaml b/data/deployments/staging/common.yaml --- a/data/deployments/staging/common.yaml +++ b/data/deployments/staging/common.yaml @@ -161,6 +161,9 @@ indexer::storage: name: swh-indexer user: swh-indexer + clearly_defined: + name: clearly-defined + user: clearly-defined pgbouncer::auth_hba_file: "/etc/postgresql/%{lookup('swh::postgresql::cluster_name')}/pg_hba.conf" pgbouncer::common::listen_addresses: @@ -196,6 +199,11 @@ auth_user: postgres port: 5433 alias: staging-swh-indexer + - source_db: clearly-defined + host: localhost + auth_user: postgres + port: 5433 + alias: staging-clearly-defined # open objstorage api swh::deploy::objstorage::backend::listen::host: 0.0.0.0 diff --git a/site-modules/profile/manifests/postgresql/server.pp b/site-modules/profile/manifests/postgresql/server.pp --- a/site-modules/profile/manifests/postgresql/server.pp +++ b/site-modules/profile/manifests/postgresql/server.pp @@ -12,7 +12,7 @@ } $postgres_version = lookup('swh::postgresql::version') $postgres_port = lookup('swh::postgresql::port') - $postgres_datadir_base = lookup('swh::postgresql::datadir_base') + $postgres_datadir_base = lookup('swh::postgresql::datadir_base') $postgres_datadir = lookup('swh::postgresql::datadir') $ip_mask_allow_all_users = '0.0.0.0/0'