]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/foundation/recipes/owg.rb
Use bundle install deployment
[chef.git] / cookbooks / foundation / recipes / owg.rb
index 0e8f2b722dce5f0c332b1356ec6df1f0b1083efd..251999d53358098bb00cc6b4d320a240170e9a13 100644 (file)
@@ -26,7 +26,9 @@ package %w[
   zlib1g-dev
 ]
 
   zlib1g-dev
 ]
 
-gem_package "bundler"
+gem_package "bundler" do
+  version "1.17.3"
+end
 
 git "/srv/operations.osmfoundation.org" do
   action :sync
 
 git "/srv/operations.osmfoundation.org" do
   action :sync
@@ -44,7 +46,7 @@ end
 
 execute "/srv/operations.osmfoundation.org/Gemfile" do
   action :nothing
 
 execute "/srv/operations.osmfoundation.org/Gemfile" do
   action :nothing
-  command "bundle install"
+  command "bundle install --deployment --jobs 4 --retry 3"
   cwd "/srv/operations.osmfoundation.org"
   user "root"
   group "root"
   cwd "/srv/operations.osmfoundation.org"
   user "root"
   group "root"