Update nodejs cookbook

This commit is contained in:
Greg Karékinian
2016-01-22 22:26:17 +00:00
parent d8681e860c
commit 0aa9ac5682
11 changed files with 97 additions and 64 deletions

View File

@@ -10,4 +10,13 @@ when 'node'
when 'rhel'
default['nodejs']['install_repo'] = true
end
when 'iojs'
case node['platform_family']
when 'debian'
default['nodejs']['install_repo'] = true
default['nodejs']['repo'] = 'https://deb.nodesource.com/iojs_2.x'
default['nodejs']['keyserver'] = 'keyserver.ubuntu.com'
default['nodejs']['key'] = '1655a0ab68576280'
end
end