Changeset View
Changeset View
Standalone View
Standalone View
data/hostname/met.internal.softwareheritage.org.yaml
Show First 20 Lines • Show All 53 Lines • ▼ Show 20 Lines | |||||
# using an indirection to allow the override for vagrant | # using an indirection to allow the override for vagrant | ||||
swh::postgresql::shared_buffers: "%{lookup('swh::provenance::db::shared_buffers')}" | swh::postgresql::shared_buffers: "%{lookup('swh::provenance::db::shared_buffers')}" | ||||
postgresql::server::config_entries: | postgresql::server::config_entries: | ||||
shared_buffers: "%{alias('swh::postgresql::shared_buffers')}" | shared_buffers: "%{alias('swh::postgresql::shared_buffers')}" | ||||
cluster_name: "%{alias('swh::postgresql::cluster_name')}" | cluster_name: "%{alias('swh::postgresql::cluster_name')}" | ||||
swh::dbs: | swh::dbs: | ||||
provenance: | provenance: | ||||
name: swh-provenance | name: "%{hiera('swh::deploy::provenance::db::dbname')}" | ||||
user: swh-provenance | user: "%{hiera('swh::deploy::provenance::db::user')}" | ||||
# What aliases to install in .pg_service/.pgpass | |||||
swh::postgres::service::dbs: | |||||
- alias: swh-provenance | |||||
name: "%{hiera('swh::deploy::provenance::db::dbname')}" | |||||
host: "%{hiera('swh::deploy::provenance::db::host')}" | |||||
port: "%{hiera('swh::deploy::db::pgbouncer::port')}" | |||||
user: guest | |||||
- alias: admin-swh-provenance | |||||
name: "%{hiera('swh::deploy::provenance::db::dbname')}" | |||||
host: "%{hiera('swh::deploy::provenance::db::host')}" | |||||
port: "%{hiera('swh::deploy::db::pgbouncer::port')}" | |||||
user: "%{hiera('swh::deploy::provenance::db::user')}" | |||||
password: "%{hiera('swh::deploy::provenance::db::password')}" | |||||
# Install the .pg_service/.pgpass files to those users | |||||
swh::postgres::service::users: | |||||
- root | |||||
- zack | |||||
- ardumont | |||||
- aeviso | |||||
- vsellier |