<html><body>You are being <a href="https://s3.amazonaws.com/community-files.opscode.com/cookbook_ver
sions/tarballs/14098/original/chocolatey20151124-26452-1mt8gr5.tar.gz?1448401863">redirected</a>.</b
ody></html>
I commented out several lines in the asset method that cleanup the downloaded cookbook cache file(s) and directory. I re-ran the install command so I had a copy of the downloaded file.
I ran curl -L -o chocolatey-0.6.1-download https://supermarket.chef.io:443/api/v1/cookbooks/chocolatey/versions/0.6.1/download and compared the file it created with the cache file. The cache file has extra bytes – new line characters.
I added the following line:
before [this line]; the output with that change:
I added this line:
at the beginning of the same
asset
method as the above change, i.e. after this line.The output of that change was
Asset url: https://supermarket.chef.io:443/api/v1/cookbooks/chocolatey/versions/0.6.1/download
.Running
curl https://supermarket.chef.io:443/api/v1/cookbooks/chocolatey/versions/0.6.1/download
:I commented out several lines in the
asset
method that cleanup the downloaded cookbook cache file(s) and directory. I re-ran the install command so I had a copy of the downloaded file.I ran
curl -L -o chocolatey-0.6.1-download https://supermarket.chef.io:443/api/v1/cookbooks/chocolatey/versions/0.6.1/download
and compared the file it created with the cache file. The cache file has extra bytes – new line characters.I believe I have a fix for this.