X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/04bfd55cbdde1da0635ba7d9bd2c1897df250293..6b22d311817728bcc482d5954eef2ada03e84eca:/cookbooks/nodejs/recipes/default.rb diff --git a/cookbooks/nodejs/recipes/default.rb b/cookbooks/nodejs/recipes/default.rb index a1f975af3..2fa43d631 100644 --- a/cookbooks/nodejs/recipes/default.rb +++ b/cookbooks/nodejs/recipes/default.rb @@ -21,3 +21,7 @@ package "nodejs" package "npm" package "g++" package "make" + +if node[:lsb][:release].to_f >= 14.04 + package "nodejs-legacy" +end