527 Commits

Author SHA1 Message Date
Greg Karékinian
12ab8dc33b Stop depending on the mysql cookbook to install mysql-server
The mysql cookbook is completely broken on 18.04 (both the released version
and the current master, in different ways). Keep it simple and just run
mysql commands
2019-05-20 18:50:28 +02:00
Greg Karékinian
61959248f3 Run sockethub on barnard 2019-05-16 00:08:15 +02:00
Greg Karékinian
6a0ab0f375 Remove dev server 2019-05-15 13:23:29 +02:00
Greg Karékinian
cdcec7d990 Remove sockethub from andromeda 2019-05-15 13:23:12 +02:00
44ee5acd8c Merge branch 'feature/7-ejabberd_rebased_2' of kosmos/chef into master 2019-05-15 08:46:19 +00:00
Greg Karékinian
63f9c31632 Add the ejabberd role to andromeda 2019-05-14 17:11:18 +02:00
Greg Karékinian
4cc5f3e6d1 Remove the XMPP firewall rules for andromeda
They are part of the kosmos-ejabberd cookbook now
2019-05-14 17:10:33 +02:00
Greg Karékinian
5106ba20fd Add the version to the dpkg package to allow updates 2019-05-14 17:10:15 +02:00
Greg Karékinian
d398c167ca Allow to pass extra attributes to backup PostgreSQL databases 2019-05-14 16:39:21 +02:00
Greg Karékinian
c9547582b7 Add a role for the ejabberd server
Includes the backup, letsencrypt and default recipe
2019-05-14 15:18:05 +02:00
Greg Karékinian
f81b7c82de Backup the 5apps ejabberd database and uploads dir 2019-05-14 15:16:28 +02:00
Greg Karékinian
bd9491675f Add the missing sql schema 2019-05-14 15:10:07 +02:00
Greg Karékinian
902a013dca Restart the service when the systemd unit changes 2019-05-14 12:18:22 +02:00
Greg Karékinian
44faa1a8df Change the PostgreSQL password for the ejabberd user 2019-05-14 11:40:21 +02:00
Greg Karékinian
0be63e5935 Fix the config file when no TLS certs exist 2019-05-14 11:31:42 +02:00
Greg Karékinian
bd720b0189 Use the regular SQL schema (not the new one for all vhosts into one db) 2019-05-14 11:24:08 +02:00
Greg Karékinian
d9390a4b92 Don't use a concatenated cert for kosmos.org anymore 2019-05-13 18:53:45 +02:00
Greg Karékinian
5d1aeb7b68 Create a cert for 5apps.com and improve the renewal script 2019-05-13 18:52:39 +02:00
Greg Karékinian
88204ea91b Update the config to the current one running on andromeda 2019-05-13 17:59:04 +02:00
Greg Karékinian
ad23530653 Add the firewall rules for ejabberd
Includes the missing 5223 port in the andromeda_firewall recipe too
2019-05-13 17:08:21 +02:00
Greg Karékinian
b44a226753 Fix the postgresql setup for the ejabberd cookbook
Create a ejabberd user with a password from an encrypted data bag
2019-05-10 11:43:52 +02:00
Greg Karékinian
3884f9922e Merge branch 'master' into feature/7-ejabberd_rebased_2 2019-05-10 11:08:09 +02:00
gregkare
0a3a2b5c2e Merge branch 'feature/62-hal8000_xmpp' of kosmos/chef into master 2019-05-10 08:04:07 +00:00
5521457d09
Add hal8000_xmpp to barnard's runlist
Also, switch to explicit recipe definitions for the other bots.
2019-05-10 07:22:01 +02:00
3fbea864c1
Remove hubot-kredits from IRC hal8000 2019-05-10 07:08:29 +02:00
7afc2f5774 Remove old hubot admins from botka 2019-05-10 07:02:08 +02:00
b29a007533 Use different Redis database for new bot 2019-05-10 07:01:43 +02:00
4a480931a5 Fix bug in nginx config
Server name isn't recognized when adding a header
directive before like this.
2019-05-10 07:00:53 +02:00
9661980235 Change bot domain 2019-05-10 07:00:35 +02:00
f3f0d0deb2
Add nginx site for hal8000_xmpp 2019-05-09 23:44:28 +02:00
e8f325b41b
Refactor botka recipe 2019-05-09 23:44:28 +02:00
36cfeab15d
Remove obsolete credential item
rs-logger is run by botka, not hal8000.
2019-05-09 23:44:28 +02:00
5f8b274cf9
Use MIT license 2019-05-09 23:44:28 +02:00
fe1821739c
Remove obsolete port opening
We have an nginx reverse proxy for botka instead.
2019-05-09 23:44:28 +02:00
584aab76a7
Add hal8000_xmpp recipe
Also, configure express ports in attributes, so they are both easy to
see at once, as well as override per node/env.
2019-05-09 23:44:18 +02:00
Greg Karékinian
6b38396c3c Remove the 5apps hubots from dev 2019-05-08 17:53:36 +02:00
Greg Karékinian
ba8b73a4dd Add mastodon to andromeda 2019-05-08 17:00:23 +02:00
Greg Karékinian
1e7f21bd41 Remove the mastodon recipes from dev 2019-05-08 17:00:07 +02:00
Greg Karékinian
90815bb274 Fix the postgresql credentials for the backup attributes 2019-05-08 16:58:47 +02:00
Greg Karékinian
7271065c5b Add names to the execute resources 2019-05-08 16:58:31 +02:00
Greg Karékinian
81192f7277 Fix the backup config format to work with backup 5 2019-05-08 12:26:47 +02:00
afc9a6da43 Merge branch 'feature/maintenance_page' of kosmos/chef into master 2019-05-07 14:53:22 +00:00
89027f1f32
Fix maintenance page paths 2019-05-07 16:10:23 +02:00
016f75f89b
Merge branch 'master' into feature/maintenance_page 2019-05-07 15:54:12 +02:00
99a677ec47
Configure maintenance error page for 503 2019-05-07 15:52:58 +02:00
1ee2b5ad41
Add maintenance page feature to Mastodon nginx site 2019-05-07 15:49:01 +02:00
36a50489d0
Add maintenance page to nginx default recipe 2019-05-07 15:46:00 +02:00
9811490aad
Add self-contained maintenance web page
This can be used for any of our services when doing planned maintenance
or migrations.
2019-05-07 15:11:26 +02:00
Greg Karékinian
c4d5a2c6bb Remove the ipfs cluster recipe from dev's run list 2019-05-07 14:57:47 +02:00
Greg Karékinian
36e8950eba Update ipfs again, to fix a bug in the ipfs_config resource
It could not handle integers
2019-05-07 14:56:40 +02:00