]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/tile/recipes/default.rb
Use backports for osm2pgsql on debian
[chef.git] / cookbooks / tile / recipes / default.rb
index 2ebcbf041376ac00102ff9fc43b4bb7cd1884477..4f067ee688b2d08f89a4aea98859101d36c0172c 100644 (file)
@@ -505,6 +505,13 @@ directory "/var/log/tile" do
   mode "755"
 end
 
+if platform?("debian")
+  apt_preference "osm2pgsql" do
+    pin "release o=Debian Backports"
+    pin_priority "600"
+  end
+end
+
 package %w[
   osm2pgsql
   osmium-tool