]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/planet/recipes/dump.rb
Update rubocop configuration for COP renames
[chef.git] / cookbooks / planet / recipes / dump.rb
index a5e9a5fff009256c639cb680ae719ce1a7ab54a9..94fd04e937a6e768240b9dd438ea8b4ff63ce03a 100644 (file)
@@ -55,8 +55,9 @@ end
 
 git "/opt/planet-dump-ng" do
   action :sync
-  repository "git://github.com/zerebubuth/planet-dump-ng.git"
+  repository "https://github.com/zerebubuth/planet-dump-ng.git"
   revision "v1.1.6"
+  depth 1
   user "root"
   group "root"
 end
@@ -92,6 +93,7 @@ directory "/store/planetdump" do
   owner "www-data"
   group "www-data"
   mode 0o755
+  recursive true
 end
 
 %w[planetdump planet-mirror-redirect-update].each do |program|