9c40dcfbf4
Merge branch 'feature/96-elasticsearch_mastodon' of kosmos/chef into master
2019-09-11 11:44:05 +00:00
Greg Karékinian
fdb4353ac0
Raise the memory limit for Elasticsearch
2019-09-11 11:21:10 +02:00
Greg Karékinian
245392c4ad
Install Elasticsearch 6.8.2
...
Version 7 isn't compatible with Mastodon yet
2019-09-10 12:29:24 +02:00
Greg Karékinian
efa958a374
Merge branch 'master' into feature/96-elasticsearch_mastodon
2019-09-09 16:20:46 +02:00
79b1025836
Merge branch 'feature/tor_hidden_services' of kosmos/chef into master
2019-09-09 11:38:28 +00:00
40eb94f091
Move Tor attributes to recipe files
2019-09-09 13:36:49 +02:00
Greg Karékinian
039da3d35a
Install Elasticsearch and enable it in Mastodon
...
Refs #96
2019-09-06 17:26:06 +02:00
gregkare
23df44bb61
Merge branch 'feature/kredits_github_signup' of kosmos/chef into master
2019-09-05 08:14:49 +00:00
03b3b2de91
Add hidden service for ejabberd
2019-09-03 19:47:52 +02:00
10b6f6370e
Configure Mastodon to use its Tor hidden service
2019-09-02 14:39:25 +02:00
3b1c7a0817
Fix more hash accessors
...
These aren't available as methods (anymore?).
2019-09-02 13:26:27 +02:00
4d24e6a7cc
Fix Tor repo key not working
...
For some reason it's not correct on the keyservers, so we import it
directly from the repo. Sketchy af.
2019-09-02 13:23:50 +02:00
c493602d1e
Move tor-full to site cookbooks
2019-09-02 12:23:50 +02:00
070a1d1889
Configure Kredits signup for hal8000_xmpp
2019-09-01 17:15:56 +02:00
0d20cddbf5
Prep cookbooks for Tor hidden services for Mastodon
2019-08-31 15:37:50 +02:00
95df59a098
Merge branch 'feature/92-nginx_tls_1.3' of kosmos/chef into master
2019-08-30 10:39:13 +00:00
Greg Karékinian
dfa709c9df
Update nginx to 1.17.3, enable TLS 1.3
...
Uses the current intermediate recommended config from
https://ssl-config.mozilla.org
Closes #92
2019-08-30 11:57:38 +02:00
61ebd76590
Merge branch 'feature/85-go-ipfs_0.4.22' of kosmos/chef into master
2019-08-14 13:00:04 +00:00
Greg Karékinian
1eaffd1309
Update go-ipfs to 0.4.22
...
Part of the 0.4.1 version of the ipfs cookbook
Closes #85
2019-08-14 13:04:08 +02:00
gregkare
fcd56c836b
Merge branch 'feature/hubot-wormhole' of kosmos/chef into master
2019-07-30 11:46:42 +00:00
c50c68b50c
Configure hubot/wormhole deployment
...
Adding another node.js hubot app. Wormhole is our new IRC/XMPP bridge.
2019-07-30 09:09:19 +02:00
gregkare
60a6a9da73
Merge branch 'bugfix/80-xmpp_uploads_location' of kosmos/chef into master
2019-07-19 17:12:11 +00:00
Greg Karékinian
0fa9e6cbb7
Set the uploads dir inside of /opt/ejabberd instead of /var/www
...
/var/www is intended for nginx/apache
I have copied over the old directories manually on Andromeda before
running this code
Fixes #80
2019-07-19 12:47:42 +02:00
f887a88e2d
Merge branch 'feature/new_ipfs_cookbook' of kosmos/chef into master
2019-07-05 14:06:24 +00:00
Greg Karékinian
ab09dd81b4
Update the ipfs cookbook to 0.4.0
2019-07-05 16:02:23 +02:00
Greg Karékinian
666ba1e6f6
Override node attributes for andromeda and barnard
2019-07-05 15:39:47 +02:00
Greg Karékinian
9c8befc179
Move attributes from the ipfs cookbook to kosmos-ipfs
...
The default attributes set in the ipfs cookbook do not include
attributes that are specific to Kosmos anymore
2019-07-05 15:38:30 +02:00
gregkare
7803513318
Merge branch 'feature/ipfs_pinner' of kosmos/chef into master
2019-07-04 08:26:40 +00:00
Greg Karékinian
cf4e567dcb
Get rid of the letsencrypt recipe
...
Its content has been moved to the public_gateway recipe
2019-07-04 10:24:33 +02:00
f4990a8066
Switch from IPFS cluster to kredits-ipfs-pinner
...
This removes the cluster configuration and adds deployment of Kredits
IPFS Pinner. It also switches hubot-kredits to use the normal API
endpoint again (instead of the cluster port).
Furthermore, it upgrades go-ipfs to the latest version.
2019-07-03 15:34:42 +02:00
a22d10e083
Merge branch 'doc/4-join_ipfs_cluster' of kosmos/chef into master
2019-07-02 11:41:58 +00:00
galfert
60205e8c7f
Merge branch 'feature/ipfs_gateway' of kosmos/chef into master
2019-07-02 11:39:26 +00:00
f1d58f6172
Add IPFS gateway for document GETs
...
This adds a gateway endpoint for `http://ipfs.kosmos.org ` on port 443
with support for `/ipfs/$objectHash` in order to GET documents from the
local gateway API.
2019-07-01 15:14:06 +02:00
galfert
18170e2abd
Merge branch 'bugfix/ipfs-cluster-issues' of kosmos/chef into master
2019-06-26 10:23:40 +00:00
5817073a16
Update IPFS cookbook
2019-06-25 16:12:40 +02:00
galfert
4c7d1a602c
Merge branch 'bugfix/mediawiki-hubot' of kosmos/chef into master
2019-06-25 12:37:14 +00:00
d3b07c59bf
Don't notify on minor wiki edits
...
New config available, which prevents chat notifications on minor edits.
2019-06-25 14:29:55 +02:00
fff5a044fe
Update/fix hubot URL, move variables to attributes
2019-06-25 14:29:11 +02:00
042014b1cb
Merge branch 'feature/5-poise-javascript' of kosmos/chef into master
2019-06-22 12:37:27 +00:00
95d19fdf32
Merge branch 'bugfix/3-systemd_email_notifications' of kosmos/chef into master
2019-06-22 12:36:20 +00:00
Greg Karékinian
80526e3396
Switch to our own fork of the poise-javascript cookbook
...
Includes passing the `--no-audit` switch to `npm install` to prevent the
`npm_install` resource to consider the command resulted in changes,
causing the service to restart at every Chef run. npm returns the
expected string "up to date" when not performing the security audit
Closes #5
2019-06-21 17:36:18 +02:00
Greg Karékinian
3a693efcd6
Add email notifications for failed certbot runs
...
Based on https://wiki.archlinux.org/index.php/Systemd/Timers#MAILTO
This can easily be used by other services, with one line added to the
[Unit] section of a service:
OnFailure=status-email-ops@%n.service
Refs #3
2019-06-20 12:46:27 +02:00
a7eb12d0eb
Merge branch 'bugfix/ejabberd_upload_permissions' of kosmos/chef into master
2019-06-14 15:01:59 +00:00
Greg Karékinian
b01985ec4f
Fix the permissions for the ejabberd upload folders
2019-06-14 16:38:49 +02:00
Greg Karékinian
283f623fee
Add mastodon role
2019-06-14 15:49:29 +02:00
Greg Karékinian
339f32c957
Simplify the instructions to get the cluster secret
2019-05-28 13:05:52 +02:00
Greg Karékinian
7905ed4402
Remove unused staging node
2019-05-21 15:00:01 +02:00
Greg Karékinian
aa79297387
Remove unused data bags and cookbooks
2019-05-21 14:58:01 +02:00
Greg Karékinian
b10c53cce8
Remove the database and mysql2_chef_gem cookbooks
2019-05-21 14:57:29 +02:00
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