nominatim: add postgis package
[chef.git] / cookbooks / nominatim / recipes / default.rb
index eb30570ca5c20fa37c345973b220d1410f3f5b60..14d70d9b3063ca6477dfe56f6268432842b69250 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