]> git.openstreetmap.org Git - chef.git/commitdiff
Install nodejs legacy symlink on 14.04
authorTom Hughes <tom@compton.nu>
Wed, 29 Apr 2015 09:37:12 +0000 (10:37 +0100)
committerTom Hughes <tom@compton.nu>
Wed, 29 Apr 2015 09:37:12 +0000 (10:37 +0100)
cookbooks/nodejs/recipes/default.rb

index a1f975af3842514481ff66fb4e31995f909ed359..2fa43d63172477f0be25133482331621ab921b05 100644 (file)
@@ -21,3 +21,7 @@ package "nodejs"
 package "npm"
 package "g++"
 package "make"
+
+if node[:lsb][:release].to_f >= 14.04
+  package "nodejs-legacy"
+end