Project

General

Profile

Actions

Feature #32245

closed

Do not set a host by default in database.yml.example

Added by Ewoud Kohl van Wijngaarden about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Category:
Settings
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

In dc0983d58937a064d74d96f311ca10a88569480b (#29642) the example database configuration file always sets a host. Using a host means PostgreSQL can't use ident auth which means you must set a password. By commenting it out, you can simplify the instructions to (on EL but similar on Debian):

sudo yum -y install postgresql-server
sudo postgresql-setup --initdb
sudo systemctl enable --now postgresql
sudo -u postgres createuser $USERNAME
sudo -u postgres createdb --owner=$USERNAME foreman

Otherwise you need to provide a username/password as well and possibly set that up.


Related issues 1 (0 open1 closed)

Related to Foreman - Bug #29642: drop sqlite supportClosedTomer BriskerActions
Actions #1

Updated by The Foreman Bot about 3 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Ewoud Kohl van Wijngaarden
  • Pull request https://github.com/theforeman/foreman/pull/8427 added
Actions #2

Updated by Ewoud Kohl van Wijngaarden about 3 years ago

  • Related to Bug #29642: drop sqlite support added
Actions #3

Updated by The Foreman Bot about 3 years ago

  • Fixed in Releases 2.5.0 added
Actions #4

Updated by Ewoud Kohl van Wijngaarden about 3 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF