]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/planet/recipes/notes.rb
Use python 3 for the planet notes dump
[chef.git] / cookbooks / planet / recipes / notes.rb
index c255c0962a2c127bed81cd530b503316c5134992..68a548b1554a6b75219dfab41c5f8f17dde76ab4 100644 (file)
@@ -23,8 +23,9 @@ db_passwords = data_bag_item("db", "passwords")
 
 package %w[
   pbzip2
-  python-psycopg2
-  python-lxml
+  python3
+  python3-psycopg2
+  python3-lxml
 ]
 
 directory "/opt/planet-notes-dump" do
@@ -35,7 +36,8 @@ end
 
 git "/opt/planet-notes-dump" do
   action :sync
-  repository "git://github.com/openstreetmap/planet-notes-dump.git"
+  repository "https://github.com/openstreetmap/planet-notes-dump.git"
+  depth 1
   user "root"
   group "root"
 end