mburns/application_nodejs

Community cookbook is double-zipped

Closed this issue · 1 comments

The version of this cookbook uploaded to community.opscode.com is doubly-gzip encoded. I'm not the first to discover this, going by the comments there.

To extract the cookbook you need to do the following:

$ wget -O application_nodejs.tar.gz http://community.opscode.com/cookbooks/application_nodejs/versions/2_0_0/downloads
$ sha1sum application_nodejs.tar.gz
1a46357c4f1b76f3f189526adba8f5311b4bbea6  application_nodejs.tar.gz

# peel off the extra gzip layer
$ gunzip application_nodejs.tar.gz
$ sha1sum application_nodejs.tar
1f60a702cc84db2043af1a72c308b16220478d45  application_nodejs.tar

# it's still a gzipped tar archive, so we still need the -z flag
$ tar -xzvf application_nodejs.tar
application_nodejs/._LICENSE
application_nodejs/LICENSE
...etc...

I'm hoping someone can upload a fixed version of the cookbook. The current one breaks tools like knife, berkshelf etc.

Fixed