]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/planet/recipes/notes.rb
Run planetdump as a systemd service with a 64Gb memory limit
[chef.git] / cookbooks / planet / recipes / notes.rb
index 382658928434d856c9df25dbd84646e12f088a84..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
@@ -36,6 +37,7 @@ end
 git "/opt/planet-notes-dump" do
   action :sync
   repository "https://github.com/openstreetmap/planet-notes-dump.git"
+  depth 1
   user "root"
   group "root"
 end