]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/stateofthemap/recipes/jekyll.rb
Pin promscale extension to a fixed version that matches promscale
[chef.git] / cookbooks / stateofthemap / recipes / jekyll.rb
index a9dd65c8d08b42237725a8a0d3f88e25012ddf45..a57d230b6771b7ba7493d5fd01f9ca156d40163a 100644 (file)
@@ -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]"