Landscape scripts have hard coded postgres superuser
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Landscape Server |
New
|
Undecided
|
Unassigned |
Bug Description
Landscape has some script that have hard code the postgres superuser (the default in PostgreSQL installations).
Some examples:
https:/
https:/
This is fine for most of the PostgreSQL installations, but if the PostgreSQL cluster is bootstrapped with another superuser name, Landscape fails when trying to bootstrap the database on PostgreSQL, because the postgres user does not exist.
One possible solution would be to have a configurable username that would replace those hard coded values in the scripts.
About the use case where we faced this issue: we are using Patroni (https:/
information type: | Proprietary → Public |