mirror of
https://github.com/rapid7/metasploitable3.git
synced 2024-09-18 00:00:34 +02:00
18 lines
298 B
Ruby
18 lines
298 B
Ruby
#
|
|
# Cookbook:: metasploitable
|
|
# Recipe:: nodejs
|
|
#
|
|
# Copyright:: 2017, Rapid7, All Rights Reserved.
|
|
#
|
|
#
|
|
|
|
execute 'add nodejs 4 repository' do
|
|
command 'curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -'
|
|
end
|
|
|
|
execute "apt-get update" do
|
|
command "apt-get update"
|
|
end
|
|
|
|
package 'nodejs'
|