digitalbutter/cookbook-node — pull request #8 by phumpal (2012-08-16 10:57:17+00:00)
Title: npm modification

npmjs.org redirects from http to https killing the cookbook with the following error:

[Thu, 16 Aug 2012 10:39:31 +0000] ERROR: bash[install_npm] (/var/chef/cache/cookbooks/node/recipes/default.rb:46:in `from_file') had an error:
bash[install_npm] (node::default line 46) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '2'

Quick fix.