From f8ef244c210e193e36a1b501ea56d3360f49bb27 Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Sat, 3 Jun 2017 09:27:49 +0200 Subject: [PATCH 1/1] nominatim: add postgis package --- cookbooks/nominatim/recipes/default.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cookbooks/nominatim/recipes/default.rb b/cookbooks/nominatim/recipes/default.rb index eb30570ca..14d70d9b3 100644 --- a/cookbooks/nominatim/recipes/default.rb +++ b/cookbooks/nominatim/recipes/default.rb @@ -52,7 +52,10 @@ end include_recipe "postgresql" +postgresql_version = node[:nominatim][:dbcluster].split("/").first + package "postgis" +package "postgresql-#{postgresql_version}-postgis-2.3" node[:nominatim][:dbadmins].each do |user| postgresql_user user do -- 2.43.2