Install the latest nodejs from source

This commit is contained in:
Greg Karékinian
2017-01-20 03:48:01 +00:00
parent b431e75e79
commit 671a2c4421
25 changed files with 882 additions and 141 deletions

View File

@@ -5,8 +5,9 @@ case node['nodejs']['engine']
when 'node'
default['nodejs']['packages'] = value_for_platform_family(
'debian' => node['nodejs']['install_repo'] ? ['nodejs'] : ['nodejs', 'npm', 'nodejs-dev'],
['rhel', 'fedora'] => ['nodejs', 'nodejs-devel', 'npm'],
%w(rhel fedora) => ['nodejs', 'nodejs-devel', 'npm'],
'mac_os_x' => ['node'],
'freebsd' => %w(node npm),
'default' => ['nodejs']
)
when 'iojs'