X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/0fd66a3f0f75fd01d6d5a22570e9557158630e5a..68e068818d559ef35bdf2a138a93596337828ef9:/cookbooks/stateofthemap/recipes/jekyll.rb diff --git a/cookbooks/stateofthemap/recipes/jekyll.rb b/cookbooks/stateofthemap/recipes/jekyll.rb index a9dd65c8d..a57d230b6 100644 --- a/cookbooks/stateofthemap/recipes/jekyll.rb +++ b/cookbooks/stateofthemap/recipes/jekyll.rb @@ -17,6 +17,7 @@ # limitations under the License. # +include_recipe "stateofthemap" include_recipe "ruby" package %w[ @@ -57,7 +58,7 @@ apache_module "rewrite" bundle_install "/srv/#{year}.stateofthemap.org" do action :nothing - options "--deployment --jobs #{node[:cpu][:total]}" + options "--deployment --jobs #{node.cpu_cores}" user "root" group "root" notifies :run, "bundle_exec[/srv/#{year}.stateofthemap.org]"