From ff14db18dc25c183adff0b7bf651943253405284 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Tue, 11 Oct 2022 09:33:34 +0100 Subject: [PATCH 1/1] Install postgis on dev servers --- cookbooks/dev/recipes/default.rb | 4 ++++ 1 file changed, 4 insertions(+) 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" -- 2.39.5