19 Commits

Author SHA1 Message Date
Greg Karékinian
7a8042e356 Add initial IPFS Cluster support
It uses an encrypted data bag to store the cluster secret that has to be
the same on all members of a cluster. It installs ipfs-cluster-service
and ipfs-cluster-ctl and starts the cluster

Refs #25
2018-08-06 18:05:44 +02:00
Greg Karékinian
d0f2275ebb Fix the ipfs config
The whole thing was inconsistent and didn't work when creating a server
from scratch
2018-08-06 12:14:20 +02:00
Greg Karékinian
11db96b3a1 Update IPFS to the latest release
Also fix the ipfs config
2018-04-17 18:51:53 +02:00
Greg Karékinian
b4624cf2aa Don't set the default variable to a type that's not allowed 2018-04-17 16:08:30 +02:00
Greg Karékinian
eaaaacf97f Remove placeholder text from generated Chef cookbooks 2017-05-08 12:07:32 +02:00
Greg Karékinian
2f0ff1f559 Fixed code styling 2017-04-28 15:45:59 +02:00
Greg Karékinian
3f81310109 Add a resource to handle config changes 2017-03-20 19:38:12 +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
c9ad823169 Fix the server specs: the gateway is on port 8080 by default 2017-03-19 20:35:45 +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
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
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