]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/nodejs/recipes/default.rb
Derive tile directories for sanboxing from attributes
[chef.git] / cookbooks / nodejs / recipes / default.rb
index 0e616ea19db9c227b3dbd95e5810e7b3ab6825c8..5f8ca526b4f6b0e491af932a1f2614576d13d377 100644 (file)
@@ -1,8 +1,8 @@
 #
-# Cookbook Name:: nodejs
+# Cookbook:: nodejs
 # Recipe:: default
 #
-# Copyright 2013, OpenStreetMap Foundation
+# Copyright:: 2013, OpenStreetMap Foundation
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
 # limitations under the License.
 #
 
-package "nodejs"
-package "nodejs-legacy"
-package "npm"
-package "g++"
-package "make"
+package %w[
+  nodejs
+  npm
+  g++
+  make
+]
+
+template "/usr/local/bin/yarn" do
+  source "yarn.erb"
+  owner "root"
+  group "root"
+  mode "755"
+end