Sha256: 0d47212d0774e5f956041e1cbfe1b1b96cc81ac04556fbce437f103b4d6bbe08

Contents?: true

Size: 412 Bytes

Versions: 5

Compression:

Stored size: 412 Bytes

Contents

#
# At the time of writing, this recipe fails because curl cannot download
# the given file (curl does not follow HTTP redirects by default). 
# This post-processing recipe should fix the bug.
#

bash "install_npm" do
  user "root"
    cwd "/tmp/"
    code <<-EOH
    # original:
    # curl http://npmjs.org/install.sh | clean=no sh
    # fixed:
    curl -L http://npmjs.org/install.sh | clean=no sh
    EOH
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
cloud-toaster-1.1.6 chef/cookbooks/toaster/recipes/post__node__default.rb
cloud-toaster-1.1.5 chef/cookbooks/toaster/recipes/post__node__default.rb
cloud-toaster-1.1.4 chef/cookbooks/toaster/recipes/post__node__default.rb
cloud-toaster-1.1.3 chef/cookbooks/toaster/recipes/post__node__default.rb
cloud-toaster-1.1.2 chef/cookbooks/toaster/recipes/post__node__default.rb