Commit Graph

237 Commits

Author SHA1 Message Date
Greg Karékinian 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 Karékinian 8ad690cedb Add development environment (used in Vagrant setup) 2017-04-07 12:06:06 +02:00
Greg Karékinian 7bcc5515c4 Update dev.kosmos.org node
Disable hubot recipes for now
Add Mastodon
2017-04-07 11:49:25 +02:00
Greg Karékinian 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 Karékinian 4260f25684 Add botka to #mastodon and #indieweb on Freenode 2017-04-06 10:08:08 +02:00
basti a3f5c5f646 Merge branch 'feature/16-ipfs' into 'master'
Initial ipfs cookbook

See merge request !1
2017-04-05 13:15:57 +00:00
Greg Karékinian 2090bc6b10 Change the port for IPFS's nginx vhost 2017-03-31 19:23:10 +02:00
Greg Karékinian b567547bdc Add development environment and initial Vagrantfile 2017-03-31 19:22:48 +02:00
Greg Karékinian 555195c32f Don't use Let's Encrypt in development environment 2017-03-31 19:21:48 +02:00
Greg Karékinian 3158cf9550 Update kosmos-wordpress for Ubuntu 16.04 2017-03-31 19:21:28 +02:00
Greg Karékinian 827a7428e2 Update kosmos-mediawiki cookbook for Ubuntu 16.04 2017-03-31 19:21:00 +02:00
Greg Karékinian b85c4ad3d5 Update backup gem (compatibility) 2017-03-31 19:20:29 +02:00
Greg Karékinian 8923d0d7ef Update cookbooks for Ubuntu 16.04 TLS 2017-03-31 19:20:00 +02:00
Greg Karékinian 6430d71006 Merge branch 'master' into feature/16-ipfs 2017-03-31 14:11:42 +02:00
Greg Karékinian f1e042d23a Update mediawiki
Also add a comment about running the update script
2017-03-25 12:32:02 +01:00
Greg Karékinian f7de7e215a Move the CORS headers from IPFS to the nginx reverse proxy 2017-03-20 22:49:06 +00:00
Greg Karékinian 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 Karékinian 3f81310109 Add a resource to handle config changes 2017-03-20 19:38:12 +00:00
Greg Karékinian 48b3534fd8 Merge branch 'master' into feature/16-ipfs 2017-03-20 13:27:27 +00:00
Greg Karékinian d52ef53ac8 Generate a Let's Encrypt certificate for IPFS 2017-03-20 13:26:03 +00:00
Greg Karékinian f1205f9424 Update Go IPFS 2017-03-20 13:25:45 +00:00
Greg Karékinian b9c90c824a Use chef_zero in Test Kitchen 2017-03-20 13:25:29 +00:00
Greg Karékinian 0e5ed95b1f Improve the README 2017-03-20 13:25:12 +00:00
Greg Karékinian bcfd44b923 Update upstream cookbooks 2017-03-20 13:19:10 +00:00
Greg Karékinian 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 Karékinian 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 Karékinian 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 Karékinian e57ee1590e Update Chef to 12.19.36 2017-03-20 13:16:11 +00:00
Greg Karékinian c4a425fbb0 Update Ruby gems 2017-03-20 13:12:17 +00:00
Greg Karékinian c9ad823169 Fix the server specs: the gateway is on port 8080 by default 2017-03-19 20:35:45 +00:00
Greg Karékinian b1cefa0d9b Add ipfs to the dev.kosmos.org server 2017-03-19 20:18:47 +00:00
Greg Karékinian 3cd1f2203d Merge branch 'master' into feature/16-ipfs 2017-03-19 20:18:23 +00:00
Greg Karékinian 5b0658eb4b Set up certbot to get a Let's Encrypt certificate for xmpp.5apps.com 2017-03-19 20:17:51 +00:00
Greg Karékinian a7433a42cd Merge branch 'master' into feature/16-ipfs 2017-03-19 20:12:21 +00:00
Greg Karékinian 3f15330b00 Clean up the sockethub nginx config 2017-03-19 20:05:28 +00:00
Greg Karékinian 9436284be2 Use the latest certbot instead of the old letsencrypt 2017-03-19 20:05:09 +00:00
Greg Karékinian 53c84bca61 Change ipfs license to Apache 2.0 2017-03-19 19:57:43 +00:00
Greg Karékinian 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 Karékinian 484b5f7ad7 Merge branch 'master' into feature/16-ipfs 2017-03-19 16:45:46 +00:00
Greg Karékinian 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 Karékinian 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 Karékinian 88700f89c7 Add test-kitchen and cookstyle gems 2017-03-03 14:25:15 +01:00
Greg Karékinian 70f86b1191 Add missing files from ipfs cookbook 2017-03-03 14:24:42 +01:00
Greg Karékinian 8ae1b04ad6 Replace placeholder README 2017-02-27 18:45:18 +01:00
Greg Karékinian 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 Karékinian b82ad70313 Add configuration for ipfs and restart the daemon when changing it 2017-02-24 19:14:53 +01:00
Greg Karékinian 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 Karékinian af1718e44a Update ark cookbook 2017-02-24 16:05:31 +01:00
Greg Karékinian 6075167494 Remove hubot-openassets dependency 2017-02-14 11:49:36 +01:00
Greg Karékinian a0af666ddd Switch Freenode's botka to the botka repo 2017-02-14 11:48:56 +01:00