]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/foundation/recipes/owg.rb
Use bundle install deployment
[chef.git] / cookbooks / foundation / recipes / owg.rb
index bc9b27093841fe9baf21c13773a9f33060d129a6..251999d53358098bb00cc6b4d320a240170e9a13 100644 (file)
@@ -1,8 +1,8 @@
 #
-# Cookbook Name:: foundation
+# Cookbook:: foundation
 # Recipe:: owg
 #
-# Copyright 2016, OpenStreetMap Foundation
+# Copyright:: 2016, OpenStreetMap Foundation
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
@@ -26,7 +26,9 @@ package %w[
   zlib1g-dev
 ]
 
-gem_package "bundler"
+gem_package "bundler" do
+  version "1.17.3"
+end
 
 git "/srv/operations.osmfoundation.org" do
   action :sync
@@ -44,7 +46,7 @@ end
 
 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"