59 Commits

Author SHA1 Message Date
Greg Karékinian
68ce3c4834 Update the firewall cookbook to the latest version
This gives us comments from the named resources
2023-06-29 15:08:44 +02:00
Greg Karékinian
916ae8094c Get rid of the build-essential cookbook
The build_essential resource has been part of Chef since 14.0
2023-06-29 14:48:49 +02:00
Greg Karékinian
05834b6013 Get rid of the application and poise cookbooks 2023-06-28 18:59:31 +02:00
Greg Karékinian
ddeebc739d Update chef-sugar to fix a conflict in Chef 16+ 2023-06-28 16:35:56 +02:00
Greg Karékinian
b9cf396d42 Deploy akkounts without the application_git cookbook
Use the built-in git resource from Chef instead. poise/application does
not work on modern Chef.
2023-06-28 16:35:56 +02:00
Greg Karékinian
76a952dbac Add missing Berksfile changes 2023-06-19 16:13:08 +02:00
Râu Cao
d06f5d7723
Set up fail2ban for nginx, move IPFS gateway to proxy role 2022-11-24 14:02:43 +01:00
Râu Cao
3620a43190
Upgrade Elasticsearch from 6.x to latest 7.x 2022-11-06 13:56:15 +01:00
bbef38b6d6
Update golang cookbook 2021-12-04 19:57:19 -06:00
4b9183d78d
Use older Redis cookbook, install on bitcoin-2 2021-11-16 14:11:42 -06:00
18f65c4fc5
Add new Redis cookbook 2021-11-16 13:25:30 -06:00
Greg Karékinian
edf2e071e4 Upgrade nodejs to the latest version from the repo
This is possible in newer versions of the nodejs cookbook, by setting
the `node["nodejs"]["package_action"]["nodejs"]` attribute to `:upgrade`
2021-03-30 13:58:55 +02:00
Greg Karékinian
511400a7b8 Update hostsfile and add zerotier cookbook 2021-01-22 18:41:45 +01:00
2c368f0f10
Update IPFS cookbook 2020-10-25 12:09:01 +01:00
b7e2a72369
Add missing changes for mediawiki upgrades 2020-09-05 23:43:28 +02:00
c646c3d5b4
Update mediawiki cookbook (Kosmos fork) 2020-08-30 18:03:44 +02:00
0005f9ab7d
Add golang cookbook
Needs updating of ark and git cookbooks
2020-08-23 11:01:05 +02:00
Greg Karékinian
e7edb5a464 Update apt to 7.3.0
It now includes unattended-upgrades support
2020-06-19 17:30:02 +02:00
4fe0e913f8
Use our own fork of the postgresql cookbook 2020-06-07 12:29:34 +02:00
Greg Karékinian
b22a7e3c0f Update the postgresql upstream cookbook 2020-05-11 18:26:35 +02:00
Greg Karékinian
396cc344fb Switch the ipfs cookbook from GitHub to Gitlab 2020-02-04 16:26:31 +01:00
Greg Karékinian
9e4685a743 Initial version of the kosmos-dirsrv cookbook
It sets up 389 Directory Server, including a TLS cert acquired using
Let's Encrypt in production (that requires ldap.kosmos.org pointing to
the server's IP)
2019-11-15 15:41:30 +01:00
Greg Karékinian
b633205d6d Update poise-javascript to support Chef 15 2019-10-08 18:17:34 +02:00
Greg Karékinian
2c2ae596ed Don't update chef using the chef_client_updater cookbook
It only makes sense when using Chef Server, which we don't
2019-10-08 18:17:34 +02:00
Greg Karékinian
286b9ab574 Add the java cookbook, delete application_ruby 2019-09-27 11:00:01 +02:00
Greg Karékinian
039da3d35a Install Elasticsearch and enable it in Mastodon
Refs #96
2019-09-06 17:26:06 +02:00
Greg Karékinian
1eaffd1309 Update go-ipfs to 0.4.22
Part of the 0.4.1 version of the ipfs cookbook

Closes #85
2019-08-14 13:04:08 +02:00
Greg Karékinian
ab09dd81b4 Update the ipfs cookbook to 0.4.0 2019-07-05 16:02:23 +02:00
5817073a16
Update IPFS cookbook 2019-06-25 16:12:40 +02:00
Greg Karékinian
80526e3396 Switch to our own fork of the poise-javascript cookbook
Includes passing the `--no-audit` switch to `npm install` to prevent the
`npm_install` resource to consider the command resulted in changes,
causing the service to restart at every Chef run. npm returns the
expected string "up to date" when not performing the security audit

Closes #5
2019-06-21 17:36:18 +02:00
Greg Karékinian
b10c53cce8 Remove the database and mysql2_chef_gem cookbooks 2019-05-21 14:57:29 +02:00
Greg Karékinian
12ab8dc33b Stop depending on the mysql cookbook to install mysql-server
The mysql cookbook is completely broken on 18.04 (both the released version
and the current master, in different ways). Keep it simple and just run
mysql commands
2019-05-20 18:50:28 +02:00
Greg Karékinian
36e8950eba Update ipfs again, to fix a bug in the ipfs_config resource
It could not handle integers
2019-05-07 14:56:40 +02:00
Greg Karékinian
14f0fbc7be Use the last commit of the ipfs PR 2019-05-07 14:41:57 +02:00
Greg Karékinian
4b0818177d Use an unreleased version of our ipfs cookbook to lower RAM usage 2019-05-07 14:35:53 +02:00
Greg Karékinian
ed8a8f1225 Update the ipfs cookbook to set a maximum number of files
The default is too low and was treated like a low disk space alert by
ipfs and ipfs-cluster, set it to 64000

Closes #44
2019-04-26 15:58:37 +02:00
Greg Karékinian
1844422fb8 Update the mediawiki cookbook 2019-04-10 11:50:23 +02:00
Greg Karékinian
05adca7fb2 Update the mediawiki to avoid setting permissions on /var/www 2019-04-09 11:09:33 +02:00
Greg Karékinian
777b85c2ab Update the mediawiki cookbook and upstream cookbooks
Compatibility with Chef 14
2019-04-08 11:20:12 +02:00
Greg Karékinian
adc417282d Update the build-essential cookbook
This removes deprecation warnings on Chef 14, which ships with the
build_essential resource
2019-04-03 15:33:53 +02:00
Greg Karékinian
374d6bc975 Update the poise and postgresql cookbooks 2019-04-03 15:28:06 +02:00
Greg Karékinian
b1a3c5e2cd Revert "Revert "Remove the sudo cookbook""
This reverts commit 87d7c721b16356a3607f9462916e6b04a93dbad5.
2019-04-03 12:52:40 +02:00
Greg Karékinian
d8a0ecec76 Update the postgresql cookbook 2019-04-03 11:34:41 +02:00
Greg Karékinian
87d7c721b1 Revert "Remove the sudo cookbook"
This reverts commit 73d1722d4b5c545ec488c5eb2119dd8b9b155363.
2019-04-03 10:30:38 +02:00
Greg Karékinian
73d1722d4b Remove the sudo cookbook
Chef 14 ships with a sudo resource:
https://docs.chef.io/resource_sudo.html
2019-04-02 12:17:06 +02:00
Greg Karékinian
fc265014de Switch back to the upstream nginx cookbook
chef_nginx is deprecated
2019-03-14 10:35:11 +01:00
Greg Karékinian
566e4278fd Update the ipfs cookbook 2019-03-13 15:11:02 +01:00
Greg Karékinian
2e1cdbecc6 Update the ipfs cookbook 2019-02-25 12:57:11 +01:00
Greg Karékinian
74a1f1b8a1 Update the ipfs cookbook to the latest version 2018-12-11 10:46:21 +01:00
Greg Karékinian
4c7dc764a4 Add the updated Berksfile.lock 2018-10-26 17:06:03 +02:00