50 Commits

Author SHA1 Message Date
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
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
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
741c4a5192 Move the ipfs cookbook to its own GitHub repository 2018-08-13 12:05:50 +02:00
af6fe37e0b Add Composer, Mermaid extension 2018-06-01 17:04:15 +02:00
Greg Karékinian
b92cc6e5d7 Update apt cookbook 2018-04-17 13:43:22 +02:00
Greg Karékinian
a35867f3d9 Update build-essential cookbook 2018-04-17 13:31:28 +02:00
Greg Karékinian
dd47030301 Update firewall cookbook 2018-04-17 13:27:35 +02:00
Greg Karékinian
157ccdc8b7 Update nodejs, sudo and users cookbooks 2018-04-17 13:18:09 +02:00
Greg Karékinian
ff2f424ddb Update poise-archive and poise-service cookbooks 2018-04-17 12:24:17 +02:00
Greg Karékinian
90bb872305 Update poise-javascript and poise-ruby cookbooks 2018-04-17 12:21:48 +02:00
Greg Karékinian
d3aa94aab5 Switch from Batali to Berkshelf to manage upstream cookbooks 2018-04-17 12:16:20 +02:00