]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/tile/recipes/default.rb
Switch tile server CGI scripts to use python3
[chef.git] / cookbooks / tile / recipes / default.rb
index a5f135a64f55ccf5e693277c37b18a58ecd3947f..c5a6b6177a28f0a1f1419fdc3527eb49ae0c5acb 100644 (file)
@@ -126,12 +126,14 @@ template "/srv/tile.openstreetmap.org/html/index.html" do
 end
 
 package %w[
-  python-cairo
-  python-mapnik
-  python-setuptools
+  python3-cairo
+  python3-mapnik
+  python3-setuptools
 ]
 
-python_package "pyotp"
+python_package "pyotp" do
+  python_version "3"
+end
 
 package %w[
   fonts-noto-cjk