Chef recipes for Kosmos XMPP server #32

Merged
raucao merged 23 commits from feature/7-ejabberd_rebased_2 into master 2019-05-15 08:46:19 +00:00
Owner

Replaces #24, history cleaned up on top of the current master

TODO:

  • Create the uploads folder (/var/www/xmpp.kosmos.org/uploads) owned by ejabberd, but /var/www/xmpp.kosmos.org/.well-known/ should be owned by www-data
Replaces #24, history cleaned up on top of the current master TODO: * [x] Create the uploads folder (`/var/www/xmpp.kosmos.org/uploads`) owned by ejabberd, but `/var/www/xmpp.kosmos.org/.well-known/` should be owned by www-data
Owner

Why does the folder have to be owned by ejabberd? It's only important that it can write to it, no?

Why does the folder have to be owned by ejabberd? It's only important that it can write to it, no?
Author
Owner

ejabberd (and no one else) needs read and write access to that folder. Do you have other users/groups in mind?

ejabberd (and no one else) needs read and write access to that folder. Do you have other users/groups in mind?
greg changed title from WIP: Set up ejabberd for kosmos.org to Set up ejabberd for kosmos.org 2019-04-17 09:23:06 +00:00
Owner

Not particularly, just asking why it's necessary for the user to own it. Seems weird to me.

Not particularly, just asking why it's necessary for the user to own it. Seems weird to me.
greg changed title from Set up ejabberd for kosmos.org to WIP: Set up ejabberd for kosmos.org 2019-05-10 09:10:39 +00:00
Author
Owner

I found an issue with the postgresql db creation, I'm fixing it. Then I'll make the cookbook configurable so we can use the same cookbook for kosmos and 5apps (with a different config)

I found an issue with the postgresql db creation, I'm fixing it. Then I'll make the cookbook configurable so we can use the same cookbook for kosmos and 5apps (with a different config)
Owner

I thought we're going to pair on that?

I thought we're going to pair on that?
greg changed title from WIP: Set up ejabberd for kosmos.org to Set up ejabberd for kosmos.org 2019-05-14 09:25:01 +00:00
Author
Owner

This is finally good to go. Includes the current config for kosmos.org and 5apps.com, firewall rules, Let's Encrypt setup. When we run this on andromeda the only thing that should change is that we'll be running the latest ejabberd (19.02, we're on 18.06 right now)

This is finally good to go. Includes the current config for kosmos.org and 5apps.com, firewall rules, Let's Encrypt setup. When we run this on andromeda the only thing that should change is that we'll be running the latest ejabberd (19.02, we're on 18.06 right now)
greg self-assigned this 2019-05-14 15:15:38 +00:00
raucao was assigned by greg 2019-05-14 15:15:40 +00:00
Author
Owner

I had to fix an issue with the backups (since we're using a different PostgreSQL user for andromeda and ejabberd, everything is done now

This is running on andromeda, this PR can be merged! I added you as an assignee since you created the configuration and paired on the 5apps migration

I had to fix an issue with the backups (since we're using a different PostgreSQL user for andromeda and ejabberd, everything is done now This is running on andromeda, this PR can be merged! I added you as an assignee since you created the configuration and paired on the 5apps migration
Owner

This is running on andromeda, this PR can be merged!

Great!

I added you as an assignee since you created the configuration and paired on the 5apps migration

That's fine. But the things we did after starting to track kredits are only a medium contribution imo. It would be unfair to count stuff from before tracking officially started, as that's part of the initial kredits for core contributors.

> This is running on andromeda, this PR can be merged! Great! > I added you as an assignee since you created the configuration and paired on the 5apps migration That's fine. But the things we did after starting to track kredits are only a medium contribution imo. It would be unfair to count stuff from before tracking officially started, as that's part of the initial kredits for core contributors.
raucao changed title from Set up ejabberd for kosmos.org to Chef cookbook for Kosmos XMPP server 2019-05-15 08:45:48 +00:00
raucao changed title from Chef cookbook for Kosmos XMPP server to Chef recipes for Kosmos XMPP server 2019-05-15 08:46:06 +00:00
raucao closed this pull request 2019-05-15 08:46:19 +00:00
raucao deleted branch feature/7-ejabberd_rebased_2 2019-05-15 08:46:27 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 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#32
No description provided.