Commit Graph
100 Commits
Author SHA1 Message Date
greg c39b3f709c Merge branch 'mastodon' into 'master'
Set up an instance of Mastodon for Kosmos

See merge request !3
2017-04-08 14:43:28 +00:00
greg 46f37b5b4a Merge branch 'master' into mastodon 2017-04-08 16:42:14 +02:00
greg af96881daa Add kosmos-mastodon::nginx recipe to Vagrant 2017-04-07 18:27:29 +02:00
greg e3bcf9b1b8 Add reload support to mastodon-web systemd service 2017-04-07 18:27:02 +02:00
greg 3549b8594a Enable IPv6 and HTTP2 on Mastodon 2017-04-07 18:26:49 +02:00
greg 99a5091760 Backup the mastodon PostgreSQL database 2017-04-07 18:21:20 +02:00
greg 6bea5b7567 Enable HTTP2 and HSTS 2017-04-07 18:20:43 +02:00
greg 4e5d452aff Add support for PostgreSQL backups 2017-04-07 18:19:55 +02:00
greg d49f28574c Update openssl cookbook 2017-04-07 18:19:28 +02:00
greg d5d3fb60c1 Use nginx's official repo and improve TLS configuration
These packagea are newer than the 15.04 we had. We can enable HTTP2
2017-04-07 18:16:51 +02:00
greg 8ad690cedb Add development environment (used in Vagrant setup) 2017-04-07 12:06:06 +02:00
greg 7bcc5515c4 Update dev.kosmos.org node
Disable hubot recipes for now
Add Mastodon
2017-04-07 11:49:25 +02:00
greg de11c0d691 Set up an instance of Mastodon for Kosmos
Refs #19

Use new application cookbook, update our cookbooks
2017-04-06 21:20:51 +02:00
greg 4260f25684 Add botka to #mastodon and #indieweb on Freenode 2017-04-06 10:08:08 +02:00
greg 2090bc6b10 Change the port for IPFS's nginx vhost 2017-03-31 19:23:10 +02:00
greg 6430d71006 Merge branch 'master' into feature/16-ipfs 2017-03-31 14:11:42 +02:00
greg f1e042d23a Update mediawiki
Also add a comment about running the update script
2017-03-25 12:32:02 +01:00
greg f7de7e215a Move the CORS headers from IPFS to the nginx reverse proxy 2017-03-20 22:49:06 +00:00
greg 114503033b Initial nginx reverse proxy for the IPFS IP
It supports cat and add for now. I have tried it using the ipfs-api npm
module
2017-03-20 19:38:51 +00:00
greg 3f81310109 Add a resource to handle config changes 2017-03-20 19:38:12 +00:00
greg 48b3534fd8 Merge branch 'master' into feature/16-ipfs 2017-03-20 13:27:27 +00:00
greg d52ef53ac8 Generate a Let's Encrypt certificate for IPFS 2017-03-20 13:26:03 +00:00
greg f1205f9424 Update Go IPFS 2017-03-20 13:25:45 +00:00
greg b9c90c824a Use chef_zero in Test Kitchen 2017-03-20 13:25:29 +00:00
greg 0e5ed95b1f Improve the README 2017-03-20 13:25:12 +00:00
greg bcfd44b923 Update upstream cookbooks 2017-03-20 13:19:10 +00:00
greg bfd2d52ea8 Improve the letsencrypt recipe
Add missing dependency
Regenerate the nginx vhost after generating the cert for the first time
2017-03-20 13:18:23 +00:00
greg 14542f8419 Do not require the deprecated users::sysadmins recipe
Write the 4 lines of code instead
2017-03-20 13:17:32 +00:00
greg 4a63e806bc Remove dependency on chef-solo-search
We are using chef-zero, we do not need it anymore
2017-03-20 13:16:27 +00:00
greg e57ee1590e Update Chef to 12.19.36 2017-03-20 13:16:11 +00:00
greg c4a425fbb0 Update Ruby gems 2017-03-20 13:12:17 +00:00
greg c9ad823169 Fix the server specs: the gateway is on port 8080 by default 2017-03-19 20:35:45 +00:00
greg b1cefa0d9b Add ipfs to the dev.kosmos.org server 2017-03-19 20:18:47 +00:00
greg 3cd1f2203d Merge branch 'master' into feature/16-ipfs 2017-03-19 20:18:23 +00:00
greg 5b0658eb4b Set up certbot to get a Let's Encrypt certificate for xmpp.5apps.com 2017-03-19 20:17:51 +00:00
greg a7433a42cd Merge branch 'master' into feature/16-ipfs 2017-03-19 20:12:21 +00:00
greg 3f15330b00 Clean up the sockethub nginx config 2017-03-19 20:05:28 +00:00
greg 9436284be2 Use the latest certbot instead of the old letsencrypt 2017-03-19 20:05:09 +00:00
greg 53c84bca61 Change ipfs license to Apache 2.0 2017-03-19 19:57:43 +00:00
greg 32bc00bf74 Fix the ipfs swarm config
The conditional block was wrong so the service was being restarted at
every chef run
2017-03-19 16:47:10 +00:00
greg 484b5f7ad7 Merge branch 'master' into feature/16-ipfs 2017-03-19 16:45:46 +00:00
greg 3ef2b8e5d5 Add our users to the systemd-journal group
This allows us to autocomplete and see system logs

Fixes #17
2017-03-19 16:37:54 +00:00
greg 08e778eb96 Split up kosmos config from the ipfs cookbook
Also do not connect IPFS to the local network to avoid getting our
server blocked by Hetzner
2017-03-03 15:30:30 +01:00
greg 88700f89c7 Add test-kitchen and cookstyle gems 2017-03-03 14:25:15 +01:00
greg 70f86b1191 Add missing files from ipfs cookbook 2017-03-03 14:24:42 +01:00
greg 8ae1b04ad6 Replace placeholder README 2017-02-27 18:45:18 +01:00
greg f365c4ac19 Support Ubuntu 14.04 and Debian 8
Also use Test Kitchen to test the cookbook.

```
bundle install
bundle exec kitchen verify
```

See http://kitchen.ci/docs for more documentation
2017-02-27 18:41:25 +01:00
greg b82ad70313 Add configuration for ipfs and restart the daemon when changing it 2017-02-24 19:14:53 +01:00
greg f4e288645d Initial ipfs cookbook
Supports Ubuntu >= 15.04

* Installs ipfs
* Runs the daemon as a systemd service
2017-02-24 16:06:53 +01:00
greg af1718e44a Update ark cookbook 2017-02-24 16:05:31 +01:00
greg 6075167494 Remove hubot-openassets dependency 2017-02-14 11:49:36 +01:00
greg a0af666ddd Switch Freenode's botka to the botka repo 2017-02-14 11:48:56 +01:00
greg 5a0323722a Explicitly run Chef in local mode (replacement for Solo)
Fixes a crash when editing encrypted data bags with the knife solo
plugin
2017-02-14 11:39:15 +01:00
greg ccaab2f42d Add an Airtable API key 2017-02-14 11:38:53 +01:00
greg 03a12683ed Add botka to #emberjs on Freenode
Fixes #13
2017-01-26 05:57:18 +00:00
greg 98ba42b157 Fix the frequency of the Let's Encrypt script (run every day) 2017-01-26 05:52:11 +00:00
greg 671a2c4421 Install the latest nodejs from source 2017-01-20 03:48:01 +00:00
greg 1f36b5b744 Add bots to a new room 2016-12-02 14:06:18 +01:00
greg d730663589 Do not load hubot-read-tweet anymore, we're load our own from scripts/
Also join a test room
2016-11-22 16:10:34 +01:00
greg 7378908d93 Deploy botka from its own public repo 2016-11-22 16:10:16 +01:00
greg 6b4cb17064 Change basti's key 2016-11-22 11:14:55 +01:00
greg 312dea50f2 Add new room 2016-11-09 11:57:02 +01:00
greg 2fa7a2cf1f Backup the prosody dirs 2016-10-31 15:37:20 +01:00
greg 6d232a320f Remove the IRC version of schlupp 2016-10-28 18:46:32 +02:00
greg 94be2f68f4 Backup the Redis database to S3 too
Fixes #8
2016-10-28 18:45:51 +02:00
greg f2016d8a07 Do not log #67p anymore
We're in #kosmos and #kosmos-dev now
2016-10-28 18:45:26 +02:00
greg 4ef630a22f Use the right XMPP aliases as the list of hubot owners 2016-10-28 18:44:35 +02:00
greg a045203f80 Delete the IRC schlupp that was running on Grove 2016-10-28 18:41:50 +02:00
greg 6ce2d04879 Add a resource to the XMPP username
The hubot-xmpp module supports it, so now the bots don't have a long
auto-generated resource
2016-10-27 15:01:46 +02:00
greg 3649e11207 Update node file 2016-10-25 15:45:58 +02:00
greg 1761c39eb1 Add new schlupp to our xmpp server 2016-10-25 15:45:21 +02:00
greg 58fd0f4e71 Add new credentials for xmpp schlupp and update credentials 2016-10-25 15:44:21 +02:00
greg 0143edadf5 Deploy sockethub's master branch 2016-10-25 15:43:43 +02:00
greg 2e61be61e0 Add new cookbooks to dev server's roles 2016-10-13 15:51:24 +02:00
greg 2c2cdeb15a Initial version of the cookbook to install prosody 2016-10-13 15:51:03 +02:00
greg cb2922b1c9 Add a cookbook to set up an instance of botka on our XMPP server 2016-10-13 15:48:16 +02:00
greg ad4200e558 Restart nginx after renewing the Let's Encrypt cert 2016-10-06 13:57:20 +02:00
greg 691a0e5533 Deploy schlupp from new private repo 2016-08-08 13:24:23 +02:00
greg 90835233de Mitigate httpoxy
https://httpoxy.org
2016-07-28 12:30:13 +02:00
greg 58604212ec Mitigate the httpoxy vulnerability
https://httpoxy.org
2016-07-28 12:28:13 +02:00
greg e7f10a98b6 Update mediawiki to 1.27.0 2016-07-28 12:25:17 +02:00
greg 1bb9a44ac4 Add README to sockethub cookbook 2016-07-08 16:04:12 +02:00
greg 10b1bff3c0 Update CleanTalk extension to 1.7
Fixes #7
2016-07-08 14:00:34 +02:00
greg a4f9dd9c2f Update backup credentials data bag 2016-07-08 13:56:42 +02:00
greg d11d7563b4 Ignore SSL errors for schlupp (Grove's SSL certificate is expired) 2016-07-06 13:23:15 +02:00
greg e1425272c1 Add galfert user 2016-07-01 17:17:13 +02:00
greg 216c8d049d Remove old file committed by mistake 2016-05-13 17:51:50 +02:00
greg 7a53617302 Add automatic daily backup of mediawiki and wordpress databases 2016-05-13 17:12:24 +02:00
greg 5d11298c1d Add logrotate cookbook 2016-05-13 17:10:03 +02:00
greg 096b4900bd Add missing Let's Encrypt recipe
Also declare cron job to renew certs

Refs #6
2016-05-06 17:02:41 +02:00
greg 0aaf3f3b55 Initial Let's Encrypt setup for Kosmos subdomains
Refs #6
2016-05-06 16:41:50 +02:00
greg 3da46705ba Add base URL to Mediawiki Hubot extension
Fixes #5
2016-05-06 16:40:37 +02:00
greg da39a04552 Update Chef to 12.9.38 2016-04-22 14:35:14 +02:00
greg c2baee5cb5 Update Chef to 12.9.38 2016-04-22 14:35:03 +02:00
greg 5c69c8d0c3 Add ark cookbook to Batali file 2016-04-22 14:32:28 +02:00
greg 0c97c218e6 Add mediawiki-hubot extension to wiki
Fixes #4
2016-04-22 14:32:05 +02:00
greg 78708414f4 Replace the default boilerplate cookbook maintainer and email
Also add it to knife.rb so new cookbooks are generated with the right
ones
2016-04-22 12:49:24 +02:00
greg d95f0b601a Install mediawiki on the dev server 2016-04-16 00:33:58 +02:00
greg c50b096c37 Update cookbooks 2016-04-16 00:33:58 +02:00
greg 3854ab7232 Update gems 2016-04-16 00:33:58 +02:00