Those were unused, only the last hard-coded entry guest was used (as initially meant).
Details
- Reviewers
- None
- Group Reviewers
System administrators - Commits
- rSPSITE3f998c523c5e: postgresql/client: Fix redundant user entry setup
octocatalog-diff for a bunch of machines and no changes as expected
(somerset, belvedere, db1.staging, worker0.staging, ...)
Diff Detail
- Repository
- rSPSITE puppet-swh-site
- Branch
- staging
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 20394 Build 31652: arc lint + arc unit
Event Timeline
Is the user not used for the creation of the pgpass file ?
https://forge.softwareheritage.org/source/puppet-swh-site/browse/production/site-modules/profile/manifests/postgresql/client.pp$10
https://forge.softwareheritage.org/source/puppet-swh-site/browse/production/site-modules/profile/templates/postgres/pgpass.conf.erb$5
Is the user not used for the creation of the pgpass file ?
https://forge.softwareheritage.org/source/puppet-swh-site/browse/production/site-modules/profile/manifests/postgresql/client.pp$10
https://forge.softwareheritage.org/source/puppet-swh-site/browse/production/site-modules/profile/templates/postgres/pgpass.conf.erb$5
It is. But here, i just dropped the first entry user (there were 2, the last one being used in the "guest" entries).
The "admin" entries are touched only to push down the "user" configuration key entry down (to be symmetric with the guest part).