]> git.openstreetmap.org Git - chef.git/commitdiff
Switch tile expiry to use python3
authorTom Hughes <tom@compton.nu>
Fri, 10 Apr 2020 15:01:56 +0000 (16:01 +0100)
committerTom Hughes <tom@compton.nu>
Fri, 10 Apr 2020 15:02:25 +0000 (16:02 +0100)
cookbooks/tile/files/default/bin/expire-tiles-single
cookbooks/tile/recipes/default.rb

index 99516431402a9ba17423523cfbe19b2bcf7dba53..219c45dd4f07dd81387b5bd51e98555cb8dbfc14 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
 """
 Expire meta tiles from a OSM change file by resetting their modified time.
 """
index 80807a0d3d04081bae44b8c0b8f225ac386c2c7f..a5f135a64f55ccf5e693277c37b18a58ecd3947f 100644 (file)
@@ -445,7 +445,7 @@ package %w[
   ruby
   osmium-tool
   pyosmium
-  python-pyproj
+  python3-pyproj
 ]
 
 remote_directory "/usr/local/bin" do