]> git.openstreetmap.org Git - chef.git/commitdiff
Install bundler 2.x to the chef environment for the chef repository
authorTom Hughes <tom@compton.nu>
Sat, 25 Apr 2020 23:19:58 +0000 (00:19 +0100)
committerTom Hughes <tom@compton.nu>
Sat, 25 Apr 2020 23:19:58 +0000 (00:19 +0100)
cookbooks/chef/recipes/repository.rb

index 28d0b2f39367ca85bab94406a9407a6dbfb93c20..44e9db114318ca8f2d4f2805523c95d8fa6f3400 100644 (file)
@@ -21,6 +21,10 @@ include_recipe "git"
 
 keys = data_bag_item("chef", "keys")
 
+chef_gem "bundler" do
+  version ">= 2.1.4"
+end
+
 directory "/var/lib/chef" do
   owner "chefrepo"
   group "chefrepo"