From: Tom Hughes Date: Tue, 7 Feb 2023 23:03:25 +0000 (+0000) Subject: Create vendor directory before using it X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/f69cfb2d4556368148b3be05f2a9b660f4c5f9b6?hp=839cf66be55223be8909e0528c2c2d4ebf3ba7fd Create vendor directory before using it --- diff --git a/cookbooks/stateofthemap/recipes/jekyll.rb b/cookbooks/stateofthemap/recipes/jekyll.rb index 7b852b62f..28744d615 100644 --- a/cookbooks/stateofthemap/recipes/jekyll.rb +++ b/cookbooks/stateofthemap/recipes/jekyll.rb @@ -48,6 +48,12 @@ apache_module "rewrite" group "nogroup" end + directory "/srv/#{year}.stateofthemap.org/vendor" do + mode "755" + owner "nobody" + group "nogroup" + end + bundle_install "/srv/#{year}.stateofthemap.org" do action :nothing user "nobody"