Page MenuHomeSoftware Heritage

Puppetfile: pgbouncer: Use commit with puppet module fix
ClosedPublic

Authored by ardumont on Jun 6 2019, 2:37 PM.

Details

Summary

Which allows to have the right behavior, use the auth_user directive.

A PR will be opened to propose this patch as well.

Related T1784

Test Plan
bin/octocatalog-diff --octocatalog-diff-args --no-truncate-details --to update_configuration belvedere
Found host belvedere.internal.softwareheritage.org
Cloning into '/tmp/swh-ocd.0HXy9zZl/environments/production/data/private'...
done.
Cloning into '/tmp/swh-ocd.0HXy9zZl/environments/update_configuration/data/private'...
done.
*** Running octocatalog-diff on host belvedere.internal.softwareheritage.org
I, [2019-06-06T14:33:29.001353 #12488]  INFO -- : Catalogs compiled for belvedere.internal.softwareheritage.org
I, [2019-06-06T14:33:29.724061 #12488]  INFO -- : Diffs computed for belvedere.internal.softwareheritage.org
diff origin/production/belvedere.internal.softwareheritage.org current/belvedere.internal.softwareheritage.org
*******************************************
  Concat::Fragment[_postgres] =>
   parameters =>
     content =>
      @@ -1,6 +1,6 @@
       ; Created from: pgbouncer_module_databases
      -softwareheritage = host=prado.internal.softwareheritage.org port=5433 user=postgres
      -softwareheritage-deposit = host=belvedere.internal.softwareheritage.org port=5434 user=postgres
      -softwareheritage-scheduler = host=belvedere.internal.softwareheritage.org port=5434 user=postgres
      -softwareheritage-scheduler-updater = host=belvedere.internal.softwareheritage.org port=5434 user=postgres
      +softwareheritage = host=prado.internal.softwareheritage.org port=5433 auth_user=postgres
      +softwareheritage-deposit = host=belvedere.internal.softwareheritage.org port=5434 auth_user=postgres
      +softwareheritage-scheduler = host=belvedere.internal.softwareheritage.org port=5434 auth_user=postgres
      +softwareheritage-scheduler-updater = host=belvedere.internal.softwareheritage.org port=5434 auth_user=postgres
      _
*******************************************
  Concat_fragment[_postgres] =>
   parameters =>
     content =>
      @@ -1,6 +1,6 @@
       ; Created from: pgbouncer_module_databases
      -softwareheritage = host=prado.internal.softwareheritage.org port=5433 user=postgres
      -softwareheritage-deposit = host=belvedere.internal.softwareheritage.org port=5434 user=postgres
      -softwareheritage-scheduler = host=belvedere.internal.softwareheritage.org port=5434 user=postgres
      -softwareheritage-scheduler-updater = host=belvedere.internal.softwareheritage.org port=5434 user=postgres
      +softwareheritage = host=prado.internal.softwareheritage.org port=5433 auth_user=postgres
      +softwareheritage-deposit = host=belvedere.internal.softwareheritage.org port=5434 auth_user=postgres
      +softwareheritage-scheduler = host=belvedere.internal.softwareheritage.org port=5434 auth_user=postgres
      +softwareheritage-scheduler-updater = host=belvedere.internal.softwareheritage.org port=5434 auth_user=postgres

Diff Detail

Repository
rSPSITE puppet-swh-site
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

This revision is now accepted and ready to land.Jun 6 2019, 2:55 PM
  • pgbouncer: Reference swh-vault/lister dbs in belvedere
This revision was automatically updated to reflect the committed changes.