]> git.openstreetmap.org Git - chef.git/commitdiff
Add web_path to planetdump
authorHrvoje Bogner <hbogner@gmail.com>
Wed, 25 Nov 2020 15:35:31 +0000 (16:35 +0100)
committerGitHub <noreply@github.com>
Wed, 25 Nov 2020 15:35:31 +0000 (16:35 +0100)
Changed path from file to webpath, and started bz2 mirroring on target

cookbooks/planet/templates/default/planetdump.erb

index ea253da77c6b7967673a2b6cde68763f8bb11135..5b32054a61cace31f4f2edfd58353c97b0a9b754 100644 (file)
@@ -97,7 +97,7 @@ function mk_torrent {
      -w https://ftp.spline.de/pub/openstreetmap/${web_path} \
      -w https://osm.openarchive.site/${name} \
      -w https://downloads.opencagedata.com/planet/${name} \
      -w https://ftp.spline.de/pub/openstreetmap/${web_path} \
      -w https://osm.openarchive.site/${name} \
      -w https://downloads.opencagedata.com/planet/${name} \
-     -w https://planet.osm-hr.org/pbf/${name} \
+     -w https://planet.osm-hr.org/${web_path} \
      -c "OpenStreetMap ${type} data export, licensed under https://opendatacommons.org/licenses/odbl/ by OpenStreetMap contributors" \
      -o ${name}.torrent
 }
      -c "OpenStreetMap ${type} data export, licensed under https://opendatacommons.org/licenses/odbl/ by OpenStreetMap contributors" \
      -o ${name}.torrent
 }