]> git.openstreetmap.org Git - chef.git/blob - cookbooks/planet/templates/default/apache-latest-planet-filename.erb
The changeset comments temporary should be cleaned too.
[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 }