26 Commits

Author SHA1 Message Date
Greg Karékinian
e6b7794e20 Extract firewall definitions to their own recipe
This allows us to use them for KVM hosts as well. Until now we had set
up ufw rules manually on the two KVM hosts (draco and centaurus)

Refs #244
2020-12-04 16:27:42 +01:00
Greg Karékinian
57d0885d26 Change the licenses of hte kosmos cookbooks to MIT 2019-04-12 11:41:20 +02:00
Greg Karékinian
e0aa4c5b11 Move the firewall rule for sockethub to its own recipe 2019-04-10 16:33:56 +02:00
Greg Karékinian
ca118ca8f8 Use the second Redis database for sockethub 2019-04-09 11:39:35 +02:00
Greg Karékinian
aa60d19743 Update sockethub to the latest tag
2.0.5 wasn't compatible with Node 10
2019-04-08 12:31:10 +02:00
Greg Karékinian
17f1b2a20a Create a nginx_certbot_site resource to remove duplication
It creates a folder, the nginx vhost for certbot and HTTP redirects, and
also runs certbot and recreates the nginx vhost that includes the TLS
cert
2019-03-15 19:03:28 +01:00
Greg Karékinian
36e046ea73 Run certbot using the binary provided by the Ubuntu PPA 2019-03-14 10:52:44 +01:00
Greg Karékinian
c3933012dd We install nodejs from package, update paths 2018-04-17 13:19:23 +02:00
5d34292728 Move sockethub rev to attribute, update version 2017-06-24 13:20:57 -07:00
Greg Karékinian
5385813eda Merge branch 'master' into feature/ubuntu-16.04 2017-06-09 16:36:19 +02:00
Greg Karékinian
4fdf64dfbd Remove duplicate kosmos-nginx recipe directive 2017-05-08 16:47:58 +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
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
6bea5b7567 Enable HTTP2 and HSTS 2017-04-07 18:20:43 +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
555195c32f Don't use Let's Encrypt in development environment 2017-03-31 19:21:48 +02: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
e95bda621e Remove additional CORS header for Sockethub
This would add a second value in addition to the one Sockethub sets
itself, which then broke the client.
2017-01-20 15:09:18 +08:00
Greg Karékinian
0143edadf5 Deploy sockethub's master branch 2016-10-25 15:43:43 +02:00
Greg Karékinian
1bb9a44ac4 Add README to sockethub cookbook 2016-07-08 16:04:12 +02:00
Greg Karékinian
0aaf3f3b55 Initial Let's Encrypt setup for Kosmos subdomains
Refs #6
2016-05-06 16:41:50 +02:00
Greg Karékinian
255ff036c3 Update firewall_rule resource
Updated cookbook
2016-02-19 18:11:43 +01:00
Greg Karékinian
ee4079fa85 Initial Chef repository 2015-07-21 19:45:23 +02:00