8 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
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
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
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