]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/serverinfo/recipes/default.rb
Move log storage to backup server
[chef.git] / cookbooks / serverinfo / recipes / default.rb
index 82a61185b1e970437b2b9ca9077f8a7c873d5038..2bbc31e5b0d70d406ac702b3021e0ce6b67c4af4 100644 (file)
@@ -64,12 +64,11 @@ directory "/srv/hardware.openstreetmap.org/_site" do
   group "nogroup"
 end
 
-# FIXME: fix the the vendor directory permissions from prior root installs
 directory "/srv/hardware.openstreetmap.org/vendor" do
   action :create
-  recursive true
   owner "nobody"
   group "nogroup"
+  notifies :run, "bundle_install[/srv/hardware.openstreetmap.org]", :immediately
 end
 
 bundle_install "/srv/hardware.openstreetmap.org" do