]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/blogs/recipes/default.rb
Use bundler 1.x for the blogs cookbook
[chef.git] / cookbooks / blogs / recipes / default.rb
index d08fc482cb410b4c4ab27f4f2ba736c538aa8dd8..abc728bf70e5c1bced9515ae0a8dc2fe8f3fe4fa 100644 (file)
@@ -28,7 +28,9 @@ package %w[
   libsqlite3-dev
 ]
 
-gem_package "bundler"
+gem_package "bundler" do
+  version "~> 1.17.2"
+end
 
 directory "/srv/blogs.openstreetmap.org" do
   owner "blogs"
@@ -41,7 +43,7 @@ git "/srv/blogs.openstreetmap.org" do
   repository "git://github.com/gravitystorm/blogs.osm.org.git"
   user "blogs"
   group "blogs"
-  notifies :run, "execute[/srv/blogs.openstreetmap.org/Gemfile]", :immediate
+  notifies :run, "execute[/srv/blogs.openstreetmap.org/Gemfile]", :immediately
 end
 
 execute "/srv/blogs.openstreetmap.org/Gemfile" do
@@ -50,7 +52,7 @@ execute "/srv/blogs.openstreetmap.org/Gemfile" do
   cwd "/srv/blogs.openstreetmap.org"
   user "root"
   group "root"
-  notifies :run, "execute[/srv/blogs.openstreetmap.org]", :immediate
+  notifies :run, "execute[/srv/blogs.openstreetmap.org]", :immediately
 end
 
 execute "/srv/blogs.openstreetmap.org" do