]> git.openstreetmap.org Git - chef.git/commitdiff
serverinfo: fix vendor folder
authorGrant Slater <github@firefishy.com>
Wed, 15 Feb 2023 15:56:43 +0000 (15:56 +0000)
committerGrant Slater <github@firefishy.com>
Wed, 15 Feb 2023 15:56:43 +0000 (15:56 +0000)
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