From f69cfb2d4556368148b3be05f2a9b660f4c5f9b6 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Tue, 7 Feb 2023 23:03:25 +0000 Subject: [PATCH 1/1] Create vendor directory before using it --- cookbooks/stateofthemap/recipes/jekyll.rb | 6 ++++++ 1 file changed, 6 insertions(+) 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" -- 2.39.5