metasploitable3/chef/cookbooks/metasploitable/recipes/nodejs.rb
2017-04-21 10:46:21 -05:00

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'