X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/418848d98ef1254285289a7a78724b89d790d76e..8517d5da18ea743e5c932fd90b8a0324ab50f3d0:/cookbooks/foundation/recipes/owg.rb?ds=sidebyside diff --git a/cookbooks/foundation/recipes/owg.rb b/cookbooks/foundation/recipes/owg.rb index 251999d53..b60d02bac 100644 --- a/cookbooks/foundation/recipes/owg.rb +++ b/cookbooks/foundation/recipes/owg.rb @@ -44,9 +44,17 @@ directory "/srv/operations.osmfoundation.org/_site" do group "nogroup" end +# Workaround https://github.com/jekyll/jekyll/issues/7804 +# by creating a .jekyll-cache folder +directory "/srv/operations.osmfoundation.org/.jekyll-cache" do + mode 0o755 + owner "nobody" + group "nogroup" +end + execute "/srv/operations.osmfoundation.org/Gemfile" do action :nothing - command "bundle install --deployment --jobs 4 --retry 3" + command "bundle install --deployment" cwd "/srv/operations.osmfoundation.org" user "root" group "root"