X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/2678c041db64440f0a15a1178d812140d3b90eb7..ff14db18dc25c183adff0b7bf651943253405284:/cookbooks/dev/recipes/default.rb diff --git a/cookbooks/dev/recipes/default.rb b/cookbooks/dev/recipes/default.rb index 70742e3c6..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" @@ -230,6 +234,7 @@ if node[:postgresql][:clusters][:"14/main"] systemd_service "rails-jobs@" do description "Rails job queue runner" type "simple" + environment "RAILS_ENV" => "production", "SLEEP_DELAY" => "60" user "apis" working_directory "/srv/%i.apis.dev.openstreetmap.org/rails" exec_start "#{node[:ruby][:bundle]} exec rails jobs:work"