Greg Karékinian
c3da352458
Create the hook subfolders too
2019-03-26 15:23:58 +01:00
Greg Karékinian
20e0bb6983
Add the max_user_conferences setting for mod_muc
2019-03-26 15:22:50 +01:00
Greg Karékinian
3047dbe99f
Fix botched merge
2019-03-19 19:41:26 +01:00
Greg Karékinian
ec58597320
Set up Let's Encrypt for the kosmos.org ejabberd server
2019-03-19 16:27:46 +01:00
Greg Karékinian
39f23dd373
Move the version and checksum to attributes
2019-03-19 16:26:49 +01:00
Greg Karékinian
2cd85afb28
Update ejabberd to 19.02
2019-03-19 10:48:34 +01:00
Greg Karékinian
18b12a1dc4
Set the ejabberd postgresql user from an encrypted data bag
2019-03-19 10:48:34 +01:00
Greg Karékinian
b5bd389e77
Set postgresql password from an encrypted data bag
2019-03-19 10:43:14 +01:00
Greg Karékinian
5ad24888ff
Add our kosmos.org accounts as admins
2019-03-19 10:43:13 +01:00
Greg Karékinian
712507bed2
Get rid of the 5apps.com config for now
2019-03-19 10:43:13 +01:00
Greg Karékinian
8e052ab53a
Add the kosmos-postgresql and ejabberd backup recipes
2019-03-19 10:43:13 +01:00
Greg Karékinian
a9d1b38f15
Update the postgresql cookbook
2019-03-19 10:43:13 +01:00
Greg Karékinian
32c4896eb7
Add a recipe that sets up backups for ejabberd
2019-03-19 10:43:13 +01:00
Greg Karékinian
39821ad253
Update the ipfs cookbook
2019-03-19 10:43:10 +01:00
Greg Karékinian
28b4193982
Add a dependency on the backup cookbook
2019-03-19 10:41:25 +01:00
Greg Karékinian
b5d76f7eaa
Get rid of the deprecated set_unless
2019-03-19 10:41:25 +01:00
Greg Karékinian
2a4940b361
Install Ruby in the backup cookbook
...
Also switch to the 5.0 beta version, it works with modern Rubies
2019-03-19 10:41:23 +01:00
Greg Karékinian
3a8a2b6be0
Switch the config to the latest version without comments
...
Taken from the 18.12.1 default config
2019-03-19 10:38:34 +01:00
Greg Karékinian
aa64456fc7
Reload ejabberd when the config file changes
2019-03-19 10:38:34 +01:00
Greg Karékinian
70c4419c2a
Add initial kosmos-postgresql cookbook
...
This is to install PostgreSQL all in one place instead of for each
service that needs it (Mastodon, ejabberd, ...)
2019-03-19 10:38:34 +01:00
Greg Karékinian
c861c73025
Initial kosmos-ejabberd cookbook
...
No Let's Encrypt cert generation recipe for now
Hardcoded PostgreSQL password too
2019-03-19 10:38:34 +01:00
gregkare
f5dc267030
Merge branch 'feature/1-lets_encrypt' of kosmos/chef into master
2019-03-18 16:24:00 +00:00
Greg Karékinian
5fa0fa661b
Install certbot from the direct download when on 15.04
...
It does not have a ppa release. Add a cron job for renewal. When using
the PPA a Systemd timer is part of the package
2019-03-18 16:52:05 +01:00
Greg Karékinian
17f1b2a20a
Create a nginx_certbot_site resource to remove duplication
...
It creates a folder, the nginx vhost for certbot and HTTP redirects, and
also runs certbot and recreates the nginx vhost that includes the TLS
cert
2019-03-15 19:03:28 +01:00
Greg Karékinian
b30dcab4da
Remove an IPFS port from the ejabberd firewall
2019-03-15 12:30:56 +01:00
41db5b2b73
Use kosmos.org email address
2019-03-15 12:45:28 +07:00
a77580d6da
Use variable instead of hardcoding domain
...
The domain name is hardcoded exactly 12 times in just the letsencrypt
recipe.
2019-03-15 12:38:42 +07:00
Greg Karékinian
c3135402ad
Move the nginx hook to the deploy directory, create renewal-hooks dir
2019-03-14 20:21:34 +01:00
Greg Karékinian
f50f48b55b
Remove the old deploy hook, we moved it to the certbot config dir
2019-03-14 18:07:52 +01:00
Greg Karékinian
a978f2a6a5
Fix the path to the Gandi DNS certbot script
2019-03-14 18:06:55 +01:00
Greg Karékinian
f12ddefec8
Move the Gandi DNS hook for certbot to the kosmos-base cookbook
2019-03-14 18:01:29 +01:00
Greg Karékinian
65482f09c3
Extract the post hooks to their own script in Certbot's config dir
2019-03-14 15:21:50 +01:00
Greg Karékinian
36e046ea73
Run certbot using the binary provided by the Ubuntu PPA
2019-03-14 10:52:44 +01:00
Greg Karékinian
fa27187f11
Switch from the git version of certbot to the Ubuntu PPA
2019-03-14 10:49:47 +01:00
Greg Karékinian
fc265014de
Switch back to the upstream nginx cookbook
...
chef_nginx is deprecated
2019-03-14 10:35:11 +01:00
gregkare
e20ad9e6f9
Merge branch 'chore/cleantalk_update' of kosmos/chef into master
2019-03-14 08:34:48 +00:00
Greg Karékinian
566e4278fd
Update the ipfs cookbook
2019-03-13 15:11:02 +01:00
Greg Karékinian
fee449f347
Set the ipfs user's shell to bash
2019-03-13 11:00:21 +01:00
19ad46036f
Update Cleantalk extension to latest version
...
Running on the server already
2019-03-04 18:22:29 +07:00
gregkare
f6119a045f
Merge branch 'moar_ports' of kosmos/chef into master
2019-02-28 15:04:48 +00:00
0ea1971b6c
Open up some more ports in firewall
...
From some manual playing around.
2019-02-28 17:19:06 +07:00
Greg Karékinian
b661f6780c
Update chef, berkshelf and knife-solo gems
2019-02-26 14:51:56 +01:00
Greg Karékinian
886958270f
Set REDIS_URL for botka
...
It was using the same Redis key to write its brain as hal8000 (`hubot:storage`),
causing scores to not be persisted to Redis. Right now botka is only
saving the online users to the database. It looks like this was only
enabled recently, as the last saved score was from Feb 8
Fixes #14
2019-02-25 18:29:18 +01:00
Greg Karékinian
5fc158cb5e
Install the latest version of the backup gem
2019-02-25 18:28:55 +01:00
gregkare
20c724252d
Merge branch 'feature/ipfs_updates' of kosmos/chef into master
2019-02-25 17:11:52 +00:00
Greg Karékinian
2e1cdbecc6
Update the ipfs cookbook
2019-02-25 12:57:11 +01:00
Greg Karékinian
33b8b39be2
Update ipfs and ipfs-cluster
2019-02-25 12:50:07 +01:00
501dd47130
Merge branch 'dev/mastodon_updates' of kosmos/chef into master
2019-01-27 04:50:02 +00:00
f082269e66
Use Gitea repo, new branch, new Ruby
2019-01-27 12:46:21 +08:00
9ec1a8a6c0
Update ejabberd doc
2019-01-02 09:41:47 +08:00