Question
Is there a way to configure Foreman’s default postgres DB listen_addresses parameter value using the foreman-installer tool ?
Foreman and Proxy versions: 3.18
Question
Is there a way to configure Foreman’s default postgres DB listen_addresses parameter value using the foreman-installer tool ?
Foreman and Proxy versions: 3.18
This should be --foreman-db-host. For a full list of options for the database run foreman-installer --full-help | grep foreman-db.
No you can not.
--foreman-db-host is to talk to a remote PostgreSQL DB, not to configure what the local one will listen on.
Thanks for the feedback.
Actually, following the official doc, it is possible to configure Foreman’s Postgres DB by updating /etc/foreman-installer/custom-hiera.yaml:
Example
postgresql::server::config_entries:
listen_addresses: '*'
max_connections: 1000
shared_buffers: 2GB
work_mem: 8MB
autovacuum_vacuum_cost_limit: 2000