Initial Chef repository
This commit is contained in:
18
site-cookbooks/kosmos-nodejs/recipes/default.rb
Normal file
18
site-cookbooks/kosmos-nodejs/recipes/default.rb
Normal file
@@ -0,0 +1,18 @@
|
||||
#
|
||||
# Cookbook Name:: kosmos-nodejs
|
||||
# Recipe:: default
|
||||
#
|
||||
# Copyright 2015, Kosmos
|
||||
#
|
||||
# All rights reserved - Do Not Redistribute
|
||||
#
|
||||
|
||||
include_recipe 'build-essential'
|
||||
node.override['nodejs']['repo'] = 'https://deb.nodesource.com/node_0.12'
|
||||
include_recipe 'nodejs::nodejs_from_package'
|
||||
|
||||
# Update npm
|
||||
nodejs_npm "npm" do
|
||||
version "2.13.0"
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user