]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/stateofthemap/recipes/default.rb
stateofthemap: Use multiple threads for bundle
[chef.git] / cookbooks / stateofthemap / recipes / default.rb
index 0d55936e00f133d3a863c55e6b95d6b362ebfdca..b2a40d1e74087a73632e3988bb1e0ad208ebb9f2 100644 (file)
@@ -344,7 +344,7 @@ end
 
   execute "/srv/#{year}.stateofthemap.org/Gemfile" do
     action :nothing
-    command "bundle install --deployment"
+    command "bundle install --deployment --jobs #{node[:cpu][:total]}"
     cwd "/srv/#{year}.stateofthemap.org"
     user "root"
     group "root"