]> git.openstreetmap.org Git - chef.git/commitdiff
Create vendor directory before using it
authorTom Hughes <tom@compton.nu>
Tue, 7 Feb 2023 23:03:25 +0000 (23:03 +0000)
committerTom Hughes <tom@compton.nu>
Tue, 7 Feb 2023 23:04:31 +0000 (23:04 +0000)
cookbooks/stateofthemap/recipes/jekyll.rb

index 7b852b62f92a7d99659d548dd3b4837ecadf3be1..28744d615c0858a9f06e6f0156e26e16c670c7f8 100644 (file)
@@ -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"