229 Commits

Author SHA1 Message Date
Greg Karékinian
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 Karékinian
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 Karékinian
462e7ff858 Move version and checksum to attributes 2017-05-02 18:07:46 +02:00
Greg Karékinian
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 Karékinian
ccbf11a407 Update logrotate cookbook 2017-05-02 11:58:32 +02:00
Greg Karékinian
180b3f5df0 Update ark cookbook 2017-05-02 11:56:29 +02:00
Greg Karékinian
943b4ace1f Replace omnibus_updater with chef_client_updater
omnibus_updater is deprecated
2017-05-02 11:53:33 +02:00
Greg Karékinian
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 Karékinian
11b812fbb8 Update sudo and users cookbooks 2017-05-02 11:39:43 +02:00
Greg Karékinian
d7bdd5cdf3 Add an nginx vhost with a Let's Encrypt certificate for schlupp 2017-04-28 15:45:59 +02:00
Greg Karékinian
2f0ff1f559 Fixed code styling 2017-04-28 15:45:59 +02:00
Greg Karékinian
4641e77438 Update cookstyle cookbook 2017-04-28 12:04:58 +02:00
Greg Karékinian
17f9b897bf Update test-kitchen gem 2017-04-28 12:04:28 +02:00
Greg Karékinian
099debe5c3 Depend on the new chef_nginx cookbook 2017-04-28 12:01:51 +02:00
Greg Karékinian
d6cc8509bc Don't run the Let's Encrypt set up in development 2017-04-28 12:01:17 +02:00
Greg Karékinian
c9879a60e2 Run sockethub as its own user 2017-04-28 12:01:07 +02:00
Greg Karékinian
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 Karékinian
4fb5390f9b Update cookbooks
* Replace old nginx cookbook with new chef_nginx cookbooks
* Update application cookbook
2017-04-28 11:59:11 +02:00
Greg Karékinian
5d1d4832df Move repository to its own attribute 2017-04-28 11:58:45 +02:00
Greg Karékinian
34653dc7d6 Add GitHub token and deploy a feature branch for now 2017-04-28 10:23:04 +02:00
Greg Karékinian
2e5b27f848 Enable Freenode's botka and hal8000 again 2017-04-27 13:34:53 +02:00
Greg Karékinian
871f59dd8c Enable the XMPP schlupp and botka recipes again 2017-04-27 13:24:31 +02:00
Greg Karékinian
208d6de94d Add dependency on redis and do backups again 2017-04-21 12:54:16 +02:00
Greg Karékinian
e98b887665 Add missing dependency on mysql, only install mysql client when needed 2017-04-21 12:53:37 +02:00
Greg Karékinian
ead7db5eaf Only do backups when not in development environment 2017-04-21 12:53:06 +02:00
fe44b29b62 Use kosmos branch for Mastodon 2017-04-17 16:52:59 +02:00
764746a009 Remove obsolete commented code 2017-04-17 16:15:41 +02:00
d090dc08c9 Add server name for staging node 2017-04-17 16:12:24 +02:00
0cf22f7f71 Use server name from attribute everywhere 2017-04-17 16:12:06 +02:00
521f48a21e Add docker config for Vagrant 2017-04-17 11:47:11 +02:00
08529c3344 Update nodejs 2017-04-17 11:42:05 +02:00
54332db8de Use ruby-build for Mastodon, update cookbooks
This uses the ruby_build provider for Mastodon, installing Ruby 2.4.1
currently. It also updates some other cookbooks and the runlists.
2017-04-17 11:40:31 +02:00
4530190df6 Use "kosmos" branch for Mastodon deploys 2017-04-08 16:10:43 +01:00
Greg Karékinian
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 Karékinian
46f37b5b4a Merge branch 'master' into mastodon 2017-04-08 16:42:14 +02:00
Greg Karékinian
af96881daa Add kosmos-mastodon::nginx recipe to Vagrant 2017-04-07 18:27:29 +02:00
Greg Karékinian
e3bcf9b1b8 Add reload support to mastodon-web systemd service 2017-04-07 18:27:02 +02:00
Greg Karékinian
3549b8594a Enable IPv6 and HTTP2 on Mastodon 2017-04-07 18:26:49 +02:00
Greg Karékinian
99a5091760 Backup the mastodon PostgreSQL database 2017-04-07 18:21:20 +02:00
Greg Karékinian
6bea5b7567 Enable HTTP2 and HSTS 2017-04-07 18:20:43 +02:00
Greg Karékinian
4e5d452aff Add support for PostgreSQL backups 2017-04-07 18:19:55 +02:00
Greg Karékinian
d49f28574c Update openssl cookbook 2017-04-07 18:19:28 +02:00
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
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