38 Commits

Author SHA1 Message Date
989185f951
Support proxy domain validation for Garage web domains
Also rename the data bag item
2024-04-30 12:23:36 +02:00
eabb6ab404 Switch more cookbooks from kosmos-redis to redisio
refs #349
2022-03-22 16:23:26 -06:00
f50e7874ba
Remove old sockethub firewall recipe 2022-02-27 16:08:40 -06:00
b9775a26e4
Rename sockethub firewall recipe
Not just used internally anymore.
2022-02-27 13:09:42 -06:00
1586fd536a
Remove superfluous license header 2022-02-27 13:09:17 -06:00
2a5d68cda9
Update Sockethub to 4.1.0
Tested/running on `nodejs-2`.
2021-09-03 10:28:07 +02:00
Greg Karékinian
b5e7e4ab85 Use DNS validation to generate/renew the TLS cert 2021-07-14 10:13:35 +02:00
Greg Karékinian
d135b3873c Switch to a systemd unit Chef resource 2021-07-09 11:32:33 +02:00
Greg Karékinian
e9c86081f7 Update sockethub to the latest npm release 2021-07-09 11:32:11 +02:00
Greg Karékinian
b8ac5e1c07 Merge branch 'master' into feature/145-sockethub_from_npm 2021-07-09 10:51:02 +02:00
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
43736cd8e9 Move the debug logs env variable to an attribute
Set it to 'sockethub*' for now as Nick advised, see
#91
2020-03-25 17:51:28 +01:00
Greg Karékinian
29a5947d18 Deploy Sockethub from the npm package
This is currently 3.1.4 and is set as an attribute. The recipe is very
simple now, it installs the npm package, and the systemd service runs
/usr/bin/sockethub and sets the environment variables

Closes #145
2020-03-25 12:43:39 +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