From 44b49ddd571dab0baec24d2e3c397f613747268f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Greg=20Kar=C3=A9kinian?= Date: Thu, 30 Jul 2020 11:58:52 +0200 Subject: [PATCH 1/2] Upgrade nginx to the latest mainline version --- site-cookbooks/kosmos-nginx/recipes/default.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site-cookbooks/kosmos-nginx/recipes/default.rb b/site-cookbooks/kosmos-nginx/recipes/default.rb index ddff5b2..87f386f 100644 --- a/site-cookbooks/kosmos-nginx/recipes/default.rb +++ b/site-cookbooks/kosmos-nginx/recipes/default.rb @@ -47,7 +47,7 @@ include_recipe 'nginx' # Override the nginx package resource to set a specific version, allowing # to upgrade it edit_resource!(:package, 'nginx') do - version "1.17.3-1~#{node['lsb']['codename']}" + version "1.19.1-1~#{node['lsb']['codename']}" notifies :reload, 'ohai[reload_nginx]', :immediately end From 3f7894bd46474a2489752b0d317cd23ca933bb62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Greg=20Kar=C3=A9kinian?= Date: Thu, 30 Jul 2020 11:59:30 +0200 Subject: [PATCH 2/2] Run Chef again after upgrading centaurus to Ubuntu 20.04 Closes #195 --- nodes/centaurus.kosmos.org.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/nodes/centaurus.kosmos.org.json b/nodes/centaurus.kosmos.org.json index 777e9cd..3fd6a8b 100644 --- a/nodes/centaurus.kosmos.org.json +++ b/nodes/centaurus.kosmos.org.json @@ -8,11 +8,12 @@ "automatic": { "fqdn": "centaurus.kosmos.org", "os": "linux", - "os_version": "4.15.0-101-generic", + "os_version": "5.4.0-42-generic", "hostname": "centaurus", "ipaddress": "78.46.59.98", "roles": [ "gitea", + "postgresql_client", "postgresql_replica" ], "recipes": [ @@ -30,6 +31,7 @@ "ntp::default", "ntp::apparmor", "kosmos-base::systemd_emails", + "apt::unattended-upgrades", "kosmos-base::firewall", "kosmos-postfix::default", "postfix::default", @@ -54,7 +56,7 @@ "build-essential::default" ], "platform": "ubuntu", - "platform_version": "18.04", + "platform_version": "20.04", "cloud": null, "chef_packages": { "ohai": {