Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working with Berkshelf #4

Open
tb01923 opened this issue May 13, 2015 · 1 comment
Open

Not working with Berkshelf #4

tb01923 opened this issue May 13, 2015 · 1 comment

Comments

@tb01923
Copy link

tb01923 commented May 13, 2015

when I add the cookbook to berself I am getting an "unknown compression type" error. Removing the dependency removes the error.

Installing selfsigned_certificate (0.1.0)
Using sudo (2.7.1)
Using users (1.8.2)
Using windows (1.36.6)
Using yum (3.6.0)
Using yum-epel (0.6.0)
Using zookeeper (2.6.0)
E, [2015-05-13T12:28:20.076060 #23224] ERROR -- : Actor crashed!
Berkshelf::UnknownCompressionType: The file at '/home/tbrown/chef-repo/community-rest-stream20150513-23224-1wwblxi' is not a known compression type
/opt/chefdk/embedded/apps/berkshelf/lib/berkshelf/community_rest.rb:19:in unpack' /opt/chefdk/embedded/apps/berkshelf/lib/berkshelf/community_rest.rb:105:indownload'
/opt/chefdk/embedded/apps/berkshelf/lib/berkshelf/downloader.rb:62:in try_download' /opt/chefdk/embedded/apps/berkshelf/lib/berkshelf/downloader.rb:36:inblock in download'
/opt/chefdk/embedded/apps/berkshelf/lib/berkshelf/downloader.rb:35:in each' /opt/chefdk/embedded/apps/berkshelf/lib/berkshelf/downloader.rb:35:indownload'
/opt/chefdk/embedded/apps/berkshelf/lib/berkshelf/installer.rb:105:in install' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:inpublic_send'
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in dispatch' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:63:indispatch'
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:60:in block in invoke' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:71:inblock in task'
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:357:in block in task' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/tasks.rb:57:inblock in initialize'
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/tasks/task_fiber.rb:15:in `block in create'
The file at '/home/tbrown/chef-repo/community-rest-stream20150513-23224-1wwblxi' is not a known compression type

@mbman
Copy link

mbman commented Jun 5, 2015

It's because the package was uploaded to Opscode in .zip format: https://supermarket.chef.io/api/v1/cookbooks/selfsigned_certificate/versions/0.1.0/download
The author needs to upload a .tar version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants