]> git.openstreetmap.org Git - chef.git/blob - cookbooks/planet/templates/default/apache-latest-planet-filename.erb
Move db-slave and nominatim-slave roles to public repository
[chef.git] / cookbooks / planet / templates / default / apache-latest-planet-filename.erb
1 #!/usr/bin/perl
2
3 # DO NOT EDIT - This file is being maintained by Chef
4
5 $| = 1;
6 while (<STDIN>) {
7         my $where = readlink("<%= node[:planet][:dump][:xml_directory] %>/planet-latest.osm.bz2");
8         s/planet\/planet\-latest\.osm\.bz2/planet\/$where/g;
9         print $_;
10 }