]> git.openstreetmap.org Git - chef.git/commit
Add cron job to delete old planet files.
authorMatt Amos <zerebubuth@gmail.com>
Wed, 24 Jan 2018 12:26:55 +0000 (12:26 +0000)
committerMatt Amos <zerebubuth@gmail.com>
Wed, 24 Jan 2018 12:26:55 +0000 (12:26 +0000)
commitd5c4026bf1afc48c3777d354efba6f8fad7581ec
treeefcddfdb0a86520d57858b5eaf3a47cc047d35f9
parentae4d13c8ba1b86d2f94bcdec799d0db052425333
Add cron job to delete old planet files.

At the moment it's just hard-coded to the general consensus view that we should keep the last 4 weeks of planet files, and the first planet for each calendar month before that.

This doesn't touch any of the "historical interest" planets in `/store/planet/cc-by-sa`.
cookbooks/planet/recipes/default.rb
cookbooks/planet/templates/default/old-planet-file-cleanup.cron.erb [new file with mode: 0644]
cookbooks/planet/templates/default/old-planet-file-cleanup.erb [new file with mode: 0644]