Commit Graph
100 Commits
Author SHA1 Message Date
greg 78c377e07f Add parity role to the dev server 2017-05-09 00:05:20 +02:00
greg 541599434d Update the mainnet recipe 2017-05-09 00:04:39 +02:00
greg 383d3adaae Add parity testnet 2017-05-09 00:02:07 +02:00
greg 5b49d727a6 Enable Dapps
It's required after all, but doesn't need to have its port open
2017-05-08 22:59:57 +02:00
greg 82386b44ba Add missing backup recipe 2017-05-08 22:59:40 +02:00
greg 58c9ccc48c Fix the Let's Encrypt config for Parity
The SSL port wasn't set in the variables
2017-05-08 22:58:39 +02:00
greg f1d48b9a68 Enable more networks (safe doesn't do what we want) 2017-05-08 18:24:51 +02:00
greg e871095bb4 Backup the parity keys 2017-05-08 17:42:29 +02:00
greg c334c05e6d Add silverbucket user
Fixes #14
2017-05-08 17:08:59 +02:00
greg 2e0730e3e8 Merge branch 'master' into feature/15-parity 2017-05-08 16:53:45 +02:00
greg 5285f86043 Use two CPUs for the VirtualBox Vagrant box 2017-05-08 16:53:03 +02:00
greg 18dba49d51 Override the directory where the parity package is created in dev 2017-05-08 16:52:08 +02:00
greg fc346e85c9 Add initial parity role 2017-05-08 16:51:50 +02:00
greg 4fdf64dfbd Remove duplicate kosmos-nginx recipe directive 2017-05-08 16:47:58 +02:00
greg 0f58a1c236 Add information about the parity nodes 2017-05-08 16:45:53 +02:00
greg eaaaacf97f Remove placeholder text from generated Chef cookbooks 2017-05-08 12:07:32 +02:00
greg 23a621270f Remove placeholder text from generated Chef cookbook 2017-05-08 12:07:03 +02:00
greg 3b6a1d0e4c Set up config for testnet 2017-05-07 16:02:58 +02:00
greg 2624c09875 Allow to create a package and install a package compiled from GitHub
Also add nginx config for reverse proxying and set up Let's Encrypt
automatically
2017-05-05 19:47:30 +02:00
greg fcf3b0b0dc Remove unnecessary variable 2017-05-03 19:08:38 +02:00
greg 37ab52902b Use a password attribute in the parity_node resource
The mainnet and testnet nodes use data from an encrypted data bag

Also fix a bug with the resource (hardcoded "dev" name instead of the
name attribute)
2017-05-03 19:06:55 +02:00
greg 826b008fc0 Split node config into separate recipes, support account creation
The account is automatically created and added to the list of accounts
that are unlocked (can send without a password)
2017-05-03 18:24:57 +02:00
greg e2b483eb3f Generate the config files using a TOML parser
Now we don't need to change both the template and the resources to add
options
2017-05-03 09:53:45 +02:00
greg 462e7ff858 Move version and checksum to attributes 2017-05-02 18:07:46 +02:00
greg 2f8de91008 Initial parity cookbook
Supports installing multiple instances of Parity on the same machine,
running on different ports

Refs #15
2017-05-02 17:43:02 +02:00
greg ccbf11a407 Update logrotate cookbook 2017-05-02 11:58:32 +02:00
greg 180b3f5df0 Update ark cookbook 2017-05-02 11:56:29 +02:00
greg 943b4ace1f Replace omnibus_updater with chef_client_updater
omnibus_updater is deprecated
2017-05-02 11:53:33 +02:00
greg 030b2501eb Fix implicit dependency on firewall cookbook in kosmos-base
Also delete ufw cookbook, we're not using it
2017-05-02 11:46:56 +02:00
greg 11b812fbb8 Update sudo and users cookbooks 2017-05-02 11:39:43 +02:00
greg d7bdd5cdf3 Add an nginx vhost with a Let's Encrypt certificate for schlupp 2017-04-28 15:45:59 +02:00
greg 2f0ff1f559 Fixed code styling 2017-04-28 15:45:59 +02:00
greg 4641e77438 Update cookstyle cookbook 2017-04-28 12:04:58 +02:00
greg 17f9b897bf Update test-kitchen gem 2017-04-28 12:04:28 +02:00
greg 099debe5c3 Depend on the new chef_nginx cookbook 2017-04-28 12:01:51 +02:00
greg d6cc8509bc Don't run the Let's Encrypt set up in development 2017-04-28 12:01:17 +02:00
greg c9879a60e2 Run sockethub as its own user 2017-04-28 12:01:07 +02:00
greg 8ba12e1ba2 Pass the user and group to the git resource
The clone is done by root otherwise
2017-04-28 12:00:22 +02:00
greg 4fb5390f9b Update cookbooks
* Replace old nginx cookbook with new chef_nginx cookbooks
* Update application cookbook
2017-04-28 11:59:11 +02:00
greg 5d1d4832df Move repository to its own attribute 2017-04-28 11:58:45 +02:00
greg 34653dc7d6 Add GitHub token and deploy a feature branch for now 2017-04-28 10:23:04 +02:00
greg 2e5b27f848 Enable Freenode's botka and hal8000 again 2017-04-27 13:34:53 +02:00
greg 871f59dd8c Enable the XMPP schlupp and botka recipes again 2017-04-27 13:24:31 +02:00
greg 208d6de94d Add dependency on redis and do backups again 2017-04-21 12:54:16 +02:00
greg e98b887665 Add missing dependency on mysql, only install mysql client when needed 2017-04-21 12:53:37 +02:00
greg ead7db5eaf Only do backups when not in development environment 2017-04-21 12:53:06 +02:00
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