Add PostgreSQL primary server support to the ejabberd cookbook #180

Closed
opened 2020-06-10 16:36:05 +00:00 by greg · 1 comment
Owner

As ejabberd and PostgreSQL are both running on andromeda, the cookbook generated a config file that had localhost as the SQL server hardcoded, and created the user and database locally.

Similar to the kosmos_gitea cookbook, we need a recipe to run on the primary PostgreSQL server to create the PostgreSQL user and database, and add authorizations for the ejabberd servers. The default recipe needs to be changed to use the IP of the PostgreSQL primary instead of localhost (when ejabberd and pg primary are not running on the same server).

As ejabberd and PostgreSQL are both running on andromeda, the cookbook generated a config file that had localhost as the SQL server hardcoded, and created the user and database locally. Similar to the kosmos_gitea cookbook, we need a recipe to run on the primary PostgreSQL server to create the PostgreSQL user and database, and add authorizations for the ejabberd servers. The default recipe needs to be changed to use the IP of the PostgreSQL primary instead of localhost (when ejabberd and pg primary are not running on the same server).
greg self-assigned this 2020-06-10 16:36:05 +00:00
Author
Owner

Forgot to close this one, we merged #181

Forgot to close this one, we merged #181
greg closed this issue 2020-07-30 09:07:12 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: kosmos/chef#180
No description provided.