X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/b40c940172b533edb3023198d4c8d7f47ddc061b..00bc7e2e46dba86663711b6b020d509ca64ed089:/cookbooks/stateofthemap/recipes/jekyll.rb diff --git a/cookbooks/stateofthemap/recipes/jekyll.rb b/cookbooks/stateofthemap/recipes/jekyll.rb index fa2545e5f..a57d230b6 100644 --- a/cookbooks/stateofthemap/recipes/jekyll.rb +++ b/cookbooks/stateofthemap/recipes/jekyll.rb @@ -58,7 +58,7 @@ apache_module "rewrite" bundle_install "/srv/#{year}.stateofthemap.org" do action :nothing - options "--deployment --jobs #{[4, node.dig('cpu', 'total').to_i, node.dig('cpu', 'cores').to_i].max}" + options "--deployment --jobs #{node.cpu_cores}" user "root" group "root" notifies :run, "bundle_exec[/srv/#{year}.stateofthemap.org]"