]> 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 41303fe43e30dc6d2eea64abebcee685e2f0997f..68a548b1554a6b75219dfab41c5f8f17dde76ab4 100644 (file)
@@ -21,8 +21,12 @@ include_recipe "git"
 
 db_passwords = data_bag_item("db", "passwords")
 
-package "python-psycopg2"
-package "python-lxml"
+package %w[
+  pbzip2
+  python3
+  python3-psycopg2
+  python3-lxml
+]
 
 directory "/opt/planet-notes-dump" do
   owner "root"
@@ -32,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