]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/nodejs/recipes/default.rb
civicrm: use correct donotsendreportemail extension to repo
[chef.git] / cookbooks / nodejs / recipes / default.rb
index 5f8ca526b4f6b0e491af932a1f2614576d13d377..9483d5893f9f98d0ebf824b98d8f480355ff01ad 100644 (file)
 # limitations under the License.
 #
 
+include_recipe "apt::nodesource"
+include_recipe "apt::yarn"
+
 package %w[
   nodejs
-  npm
+  yarn
   g++
   make
 ]
-
-template "/usr/local/bin/yarn" do
-  source "yarn.erb"
-  owner "root"
-  group "root"
-  mode "755"
-end