This installs a pgbouncer instance on the belvedere matching. The setup matches
as closely as possible the one already installed on both prado and belvedere (mostly the db connections bounces to swh on prado, swh-deposit, swh-scheduler, swh-scheduler-updater to belvedere itself, and then number of connections, the type of connection trust, etc...).
Once deployed, the differences i saw will be:
- the current /etc/pgbouncer/pgbouncer.ini is complete and commented (probably
installed through a template file then got adapted). The new one will only be
a subset of what's defined here (without comments).
- the actual /etc/pgbouncer/userlist.txt is plain and the password is
human-readable, it will no longer be the case. The password will be hashed
(md5 though).
Commits:
- Puppetfile: Reference pgbouncer module
- Reference actual pgbouncer configuration
Related T1784