From 8faf607800930a4f6b5ae14742c8fbaf6a360eb4 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Fri, 1 Nov 2019 08:46:20 +0000 Subject: [PATCH 1/1] Only install the specific version of postgis we want This stops new versions of postgis, and via dependency, of postgres from getting installed automatically. --- cookbooks/nominatim/recipes/default.rb | 1 - cookbooks/tile/recipes/default.rb | 1 - 2 files changed, 2 deletions(-) diff --git a/cookbooks/nominatim/recipes/default.rb b/cookbooks/nominatim/recipes/default.rb index 47b52274f..63fe2ca06 100644 --- a/cookbooks/nominatim/recipes/default.rb +++ b/cookbooks/nominatim/recipes/default.rb @@ -55,7 +55,6 @@ include_recipe "postgresql" postgresql_version = node[:nominatim][:dbcluster].split("/").first postgis_version = node[:nominatim][:postgis] -package "postgis" package "postgresql-#{postgresql_version}-postgis-#{postgis_version}" node[:nominatim][:dbadmins].each do |user| diff --git a/cookbooks/tile/recipes/default.rb b/cookbooks/tile/recipes/default.rb index ead3638aa..971e95384 100644 --- a/cookbooks/tile/recipes/default.rb +++ b/cookbooks/tile/recipes/default.rb @@ -360,7 +360,6 @@ end postgresql_version = node[:tile][:database][:cluster].split("/").first postgis_version = node[:tile][:database][:postgis] -package "postgis" package "postgresql-#{postgresql_version}-postgis-#{postgis_version}" postgresql_user "jburgess" do -- 2.43.2