]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/serverinfo/recipes/default.rb
serverinfo: fix vendor folder
[chef.git] / cookbooks / serverinfo / recipes / default.rb
index 82a61185b1e970437b2b9ca9077f8a7c873d5038..8aec65a9aa5679af6b4de74bc9f93ee076eabcbd 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]"
 end
 
 bundle_install "/srv/hardware.openstreetmap.org" do