From: Tom Hughes Date: Tue, 11 Oct 2022 08:33:34 +0000 (+0100) Subject: Install postgis on dev servers X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/ff14db18dc25c183adff0b7bf651943253405284 Install postgis on dev servers --- diff --git a/cookbooks/dev/recipes/default.rb b/cookbooks/dev/recipes/default.rb index 3a12babae..29ff0086f 100644 --- a/cookbooks/dev/recipes/default.rb +++ b/cookbooks/dev/recipes/default.rb @@ -214,6 +214,10 @@ search(:accounts, "*:*").each do |account| end end +node[:postgresql][:versions].each do |version| + package "postgresql-#{version}-postgis-3" +end + if node[:postgresql][:clusters][:"14/main"] postgresql_user "apis" do cluster "14/main"