Commit Graph

617 Commits

Author SHA1 Message Date
Basti c7d91f68f9
Fix Mastodon Web systemd service
Removes a legacy property from the config, which made the service fail
to start after having upgraded systemd on Andromeda.
2019-10-16 08:29:34 +02:00
Râu Cao fd913770b9 Merge branch 'feature/wormhole_sockethub' of kosmos/chef into master 2019-10-13 19:33:19 +00:00
Basti 76c8120058
Set up XMPP/IRC integration for Sockethub rooms 2019-10-13 21:32:12 +02:00
Râu Cao fd59c9b23b Merge branch 'chore/update_mastodon_ruby' of kosmos/chef into master 2019-10-13 18:19:58 +00:00
Basti 66782f1f05
Update installed Ruby version for Mastodon 3.x 2019-10-13 20:16:54 +02:00
Basti b49b494d43
Update andromeda node file 2019-10-13 20:16:18 +02:00
Râu Cao d255c06759 Merge branch 'feature/103-chef_15' of kosmos/chef into master 2019-10-13 18:15:07 +00:00
Greg a32f34b408 Vendor the external cookbooks
Knife-Zero doesn't include Berkshelf support, so vendoring everything in
the repo is convenient again
2019-10-13 19:17:42 +02:00
Greg f4bfe31ac1 Update the node files after running Knife-Zero 2019-10-10 12:52:10 +02:00
Greg ebcb700eaf Add the command to update Chef Client 2019-10-10 12:43:47 +02:00
Greg 67c9ea621c Add the latest bootstrap command to the README 2019-10-10 12:37:14 +02:00
Greg 8fdafa1484 Set attribute whitelists for Knife-Zero
This prevents all attributes to be written in the node files. We don't
want that data stored in git.
See https://knife-zero.github.io/40_configuration/
2019-10-10 12:34:55 +02:00
Greg f5858a8a6e Remove unneeded setting
In Chef 15 local_mode is enough
2019-10-10 12:34:08 +02:00
Greg a7aa38805c Merge branch 'master' into feature/103-chef_15 2019-10-09 13:04:05 +02:00
gregkare 736a49a961 Merge branch 'feature/mastodon_improvements' of kosmos/chef into master 2019-10-09 11:02:43 +00:00
Greg aa66743166 Set a low Java heap size in development 2019-10-08 18:23:27 +02:00
Greg bf010b943a Add commented recipes to the run list 2019-10-08 18:22:51 +02:00
Greg 7f57caddf9 Update Chef to 15.3.14 in the Vagrant config
Add the switch to accept the license
2019-10-08 18:22:11 +02:00
Greg 6ea0498490 Get rid of the vagrant-berkshelf plugin
It has been abandoned by its creators
2019-10-08 18:20:57 +02:00
Greg 585374861d Update the README for Knife-Zero 2019-10-08 18:17:57 +02:00
Greg b633205d6d Update poise-javascript to support Chef 15 2019-10-08 18:17:34 +02:00
Greg 0b9ab63a61 Update Chef to 15.3.14 2019-10-08 18:17:34 +02:00
Greg 20f6e9e04d Delete config for knife-solo 2019-10-08 18:17:34 +02:00
Greg 3c05f172de Add the cookbooks dir to the load path for Knife-Zero 2019-10-08 18:17:34 +02:00
Greg 2c2ae596ed Don't update chef using the chef_client_updater cookbook
It only makes sense when using Chef Server, which we don't
2019-10-08 18:17:34 +02:00
Greg 34d69dbca1 Add missing application_javascript dependency 2019-09-27 11:07:15 +02:00
Greg 286b9ab574 Add the java cookbook, delete application_ruby 2019-09-27 11:00:01 +02:00
Greg 3be9b2fb44 Update yarn to the latest version 2019-09-27 10:57:58 +02:00
Greg 438c5ff72d Fix the services restarting every time the recipe is executed
* Manually send a restart action from the application_git resource
* Do not depend on application_ruby anymore
2019-09-27 10:57:35 +02:00
Greg 4b39ea60dd Set the NODE_ENV variable when running yarn
The assets precompilation task runs yarn with NODE_ENV=production,
before this change yarn would install a different set of packages, with
this change the run from the assets precompilation is idempotent
2019-09-27 10:55:32 +02:00
Greg b1cfa6f6f7 Install Java for Elasticsearch
It was missing from the recipe
2019-09-27 10:51:26 +02:00
Greg dace5672e4 Move the java heap size to an attribute 2019-09-27 10:50:56 +02:00
galfert e73d1e232c Merge branch 'feature/99-kosmos_chat_muc' of kosmos/chef into master 2019-09-26 13:05:18 +00:00
Greg 9d68d3c4da Link to the new ops Mastodon account 2019-09-19 16:02:41 +02:00
Greg cd9a7dd3dc Use the new kosmos.chat MUC domain on the maintenance page 2019-09-19 16:00:01 +02:00
Greg f49dd5e6d4 Switch the MUC host for kosmos.org to kosmos.chat 2019-09-19 15:58:53 +02:00
Greg 544f4b78f4 Change the MUC domain for the kosmos.org XMPP server to kosmos.chat 2019-09-19 15:57:54 +02:00
Greg 4685b16573 Add kosmos.chat to the list of Kosmos XMPP domains with a TLS cert 2019-09-19 15:56:49 +02:00
Râu Cao 0ca002c67c Merge branch 'bugfix/tor_attributes' of kosmos/chef into master 2019-09-11 12:53:50 +00:00
Greg 2ecc128abd Move the hidden service attributes to the attributes file
When it is set in the recipe the hidden service dir doesn't get set
correctly (nil), resulting in a broken torrc file
2019-09-11 13:47:42 +02:00
Râu Cao 9c40dcfbf4 Merge branch 'feature/96-elasticsearch_mastodon' of kosmos/chef into master 2019-09-11 11:44:05 +00:00
Greg fdb4353ac0 Raise the memory limit for Elasticsearch 2019-09-11 11:21:10 +02:00
Greg 245392c4ad Install Elasticsearch 6.8.2
Version 7 isn't compatible with Mastodon yet
2019-09-10 12:29:24 +02:00
Greg efa958a374 Merge branch 'master' into feature/96-elasticsearch_mastodon 2019-09-09 16:20:46 +02:00
Râu Cao 79b1025836 Merge branch 'feature/tor_hidden_services' of kosmos/chef into master 2019-09-09 11:38:28 +00:00
Basti 40eb94f091
Move Tor attributes to recipe files 2019-09-09 13:36:49 +02:00
Greg 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
Basti 03b3b2de91
Add hidden service for ejabberd 2019-09-03 19:47:52 +02:00
Basti 10b6f6370e
Configure Mastodon to use its Tor hidden service 2019-09-02 14:39:25 +02:00