]> git.openstreetmap.org Git - chef.git/commitdiff
Use file URLs when merging replication diffs
authorTom Hughes <tom@compton.nu>
Fri, 29 Apr 2016 21:36:34 +0000 (22:36 +0100)
committerTom Hughes <tom@compton.nu>
Fri, 29 Apr 2016 21:36:34 +0000 (22:36 +0100)
This avoids relying on a working web server for the merging and
shoud generally be a more efficient way to do it.

cookbooks/planet/templates/default/replication.config.erb

index 7ac5ac58af904aae93889e190390f997d62fb375..759ad9f246d9d53702e48ebd9be008199e62b695 100644 (file)
@@ -1,7 +1,7 @@
 # DO NOT EDIT - This file is being maintained by Chef
 
 # The URL of the directory containing change files.
 # DO NOT EDIT - This file is being maintained by Chef
 
 # The URL of the directory containing change files.
-baseUrl=http://planet.openstreetmap.org/replication/<%= @base %>
+baseUrl=file:///store/planet/replication/<%= @base %>
 
 # The length of an extraction interval in seconds (3600 = 1 hour).
 intervalLength=<%= @interval %>
 
 # The length of an extraction interval in seconds (3600 = 1 hour).
 intervalLength=<%= @interval %>