]> git.openstreetmap.org Git - chef.git/commitdiff
Install postgis on dev servers
authorTom Hughes <tom@compton.nu>
Tue, 11 Oct 2022 08:33:34 +0000 (09:33 +0100)
committerTom Hughes <tom@compton.nu>
Tue, 11 Oct 2022 08:33:34 +0000 (09:33 +0100)
cookbooks/dev/recipes/default.rb

index 3a12babae9d53062d15e6460d2ba4785a7c363e1..29ff0086fd6a13aed228507fadf490828dbe9e4a 100644 (file)
@@ -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"