Install the latest nodejs from source
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user