nominatim: add postgis package
authorSarah Hoffmann <lonvia@denofr.de>
Sat, 3 Jun 2017 07:27:49 +0000 (09:27 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Sat, 3 Jun 2017 07:27:49 +0000 (09:27 +0200)
cookbooks/nominatim/recipes/default.rb

index eb30570..14d70d9 100644 (file)
@@ -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