]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/tile/recipes/default.rb
Don't disable loopback connection tracking on 14.04
[chef.git] / cookbooks / tile / recipes / default.rb
index 9128b4e2b8af0c7a725d5495f30e519e55aa7f3e..fe3b6c8622543aa1935dfd7fac75794fd2a16f9e 100644 (file)
@@ -358,9 +358,10 @@ node[:tile][:styles].each do |name, details|
 end
 
 postgresql_version = node[:tile][:database][:cluster].split("/").first
+postgis_version = node[:tile][:database][:postgis]
 
 package "postgis"
-package "postgresql-#{postgresql_version}-postgis-2.3"
+package "postgresql-#{postgresql_version}-postgis-#{postgis_version}"
 
 postgresql_user "jburgess" do
   cluster node[:tile][:database][:cluster]