370 Commits

Author SHA1 Message Date
Greg Karékinian
6a86fc64fa Add configuration for knife-solo
Disable Berkshelf integration and set the version of Chef to install on
the server
2018-04-17 13:42:38 +02:00
Greg Karékinian
a35867f3d9 Update build-essential cookbook 2018-04-17 13:31:28 +02:00
Greg Karékinian
dd47030301 Update firewall cookbook 2018-04-17 13:27:35 +02:00
Greg Karékinian
c3933012dd We install nodejs from package, update paths 2018-04-17 13:19:23 +02:00
Greg Karékinian
d26d2e17fd Install nodejs from packages instead of building from source 2018-04-17 13:19:03 +02:00
Greg Karékinian
bd71418ec2 Changes for the new sudo cookbook 2018-04-17 13:18:36 +02:00
Greg Karékinian
157ccdc8b7 Update nodejs, sudo and users cookbooks 2018-04-17 13:18:09 +02:00
Greg Karékinian
ff2f424ddb Update poise-archive and poise-service cookbooks 2018-04-17 12:24:17 +02:00
Greg Karékinian
90bb872305 Update poise-javascript and poise-ruby cookbooks 2018-04-17 12:21:48 +02:00
Greg Karékinian
d3aa94aab5 Switch from Batali to Berkshelf to manage upstream cookbooks 2018-04-17 12:16:20 +02:00
Greg Karékinian
0c80aaabd4 Update Node to the latest LTS release (8.11.1) 2018-04-06 14:02:59 +02:00
Greg Karékinian
36813b38d6 Remove wordpress from the dev node 2018-03-20 16:09:19 +01:00
Greg Karékinian
8653a8fa97 Use jemalloc1 on Puma and Sidekiq to lower the memory usage
More details:
https://www.speedshop.co/2017/12/04/malloc-doubles-ruby-memory.html
2018-03-20 16:07:55 +01:00
Greg Karékinian
b8853a1b5d Install lua-dbi-sqlite3 and set the prosody version 2018-03-20 16:06:28 +01:00
Greg Karékinian
6ae27293ce Set the number of ActiveRecord DB pools to 50 in the Sidekiq service 2018-02-28 15:11:22 +01:00
fa0326f2be Log #lnd on Freenode 2018-01-14 14:07:04 +00:00
f517431a4e Add botka and hal8000 to #kosmos-random 2018-01-13 14:04:03 +00:00
a751055170 Configure points term for hubot-plusplus 2018-01-12 17:55:25 +00:00
1fc503f907 Add new config for hubot-rss-reader 2018-01-12 17:06:17 +00:00
206e807ac7 Use custom version of poise-javascript
Fixes npm-outdated breaking chef runs all the time.

See https://github.com/poise/poise-javascript/pull/8
2017-11-05 00:37:20 +01:00
5b1c583313 Update node and yarn 2017-10-29 17:24:29 +01:00
08330e8749 Update Ruby and Yarn for Mastodon 2017-10-28 23:36:13 +02:00
Greg Karékinian
aaabeee1fb Remove extra empty external-scripts that disabled modules for botka 2017-10-27 10:34:48 +02:00
Greg Karékinian
b967b9d035 Add bots to a new XMPP room 2017-10-18 15:39:04 +02:00
Greg Karékinian
acf86e4038 Use a new Prosody Ubuntu repository to be able to update it 2017-10-17 15:32:03 +02:00
Greg Karékinian
49664dbc8d The renew hook now needs to be an executable in the path
An absolute path doesn't work anymore.

Also send an email containing STDERR when the renewal command fails
2017-09-22 11:53:01 +02:00
0a3763fe5d Fix accidental error in Mastodon nginx config
The well-known folder wasn't served properly anymore.
2017-09-04 10:06:41 +02:00
8afa5ef106 Add vapid keys to template; don't cache SW 2017-07-31 13:55:27 +02:00
69b38552c6 Add vapid keys 2017-07-31 13:00:20 +02:00
2f6ab1e0b1 Add new apt deps, missing yarn install 2017-07-27 12:07:56 +02:00
Greg Karékinian
063ebeb7c3 Update nodejs (security update) 2017-07-12 12:34:24 +02:00
Greg Karékinian
262fbd89b6 Specify the Chef version in the Vagrant config
We don't need the vagrant-omnibus plugin anymore
2017-07-12 12:12:45 +02:00
Greg Karékinian
ffdec12606 Update Chef to 12.21.1 2017-07-12 12:12:45 +02:00
5d34292728 Move sockethub rev to attribute, update version 2017-06-24 13:20:57 -07:00
Greg Karékinian
0bb6204a0d Fix the Let's Encrypt setup for mediawiki 2017-06-19 18:40:20 +02:00
Greg Karékinian
edca6608c7 Update mediawiki cookbook 2017-06-16 22:57:33 +02:00
Greg Karékinian
bdfb3a1afb Downgrade mysql cookbook for now
It doesn't play well with our current dev server setup
2017-06-16 22:44:57 +02:00
e39792ea36 Update Mastodon Redis config
They introduced Redis URLs for the config, so I removed our own
additions and added the URL.
2017-06-16 12:09:22 -07:00
Greg Karékinian
ff3d062c73 Update users cookbook and poise cookbooks
The poise cookbooks were incompatible with Chef 13
2017-06-16 15:50:13 +02:00
Greg Karékinian
f93070c4c0 Replace timezone-ii cookbook with timezone_iii
This fork supports Chef 13 and is still maintained
2017-06-16 13:10:46 +02:00
Greg Karékinian
189b66a36f Update Chef to 12.20.3 2017-06-16 11:43:24 +02:00
Greg Karékinian
acd67151a0 Merge branch 'feature/ubuntu-16.04' into 'master'
Support Ubuntu 16.04

See merge request !2
2017-06-16 09:34:50 +00:00
Greg Karékinian
6711fc3a6e Merge branch 'master' into feature/ubuntu-16.04 2017-06-16 11:33:52 +02:00
Greg Karékinian
f5858319a7 Update more cookbooks 2017-06-16 11:25:49 +02:00
b351bad994 Add object/data endpoint to IPFS nginx config
This is needed for the ipfs-api client to store data from e.g.
kosmos-web.
2017-06-15 14:49:57 -07:00
Greg Karékinian
7da2c5a738 Add ntp cookbook 2017-06-09 21:23:42 +02:00
Greg Karékinian
49a9625d16 Just use plain HTTP in development environment 2017-06-09 21:20:00 +02:00
Greg Karékinian
488b50d54d Just use plain HTTP in development environment 2017-06-09 21:19:47 +02:00
Greg Karékinian
5534b57752 Add ntp package and don't run most kosmos-base things in development 2017-06-09 21:18:44 +02:00
Greg Karékinian
26097197ca Don't create users and rewrite the sudo config in dev environment
It breaks the vagrant user
2017-06-09 16:43:26 +02:00