Skip to content

Instantly share code, notes, and snippets.

@cschneid
Created July 28, 2014 17:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cschneid/b3e0e7af58de36301175 to your computer and use it in GitHub Desktop.
Save cschneid/b3e0e7af58de36301175 to your computer and use it in GitHub Desktop.
source "http://api.berkshelf.com"
cookbook 'apt'
cookbook 'build-essential'
cookbook 'timezone'
cookbook 'application'
cookbook 'logrotate'
cookbook 'kafka', :git => "https://github.com/mthssdrbrg/kafka-cookbook.git"
cookbook 'ts', '~> 0.1.0', :git => 'https://github.com/thinkerbot/chef-ts', :ref => 'master'
cookbook 'postgresql'
cookbook 'database'
# "The man who can keep a secret may be wise, but he is not half as wise as the
# man with no secrets to keep." - E. W. Howe
cookbook 'chef-vault'
@cschneid
Copy link
Author

vagrant@workstation:/vagrant$ berks install
Resolving cookbook dependencies...
Fetching cookbook index from http://api.berkshelf.com...
Using application (4.1.4)
Using apt (2.4.0)
Installing aws (2.3.0)
Using build-essential (2.0.2)
Installing chef-sugar (2.0.0)
E, [2014-07-28T17:21:47.951195 #2945] ERROR -- : Actor crashed!
Berkshelf::CommunitySiteError: An unexpected error occurred retrieving 'aws' (2.3.0) from the cookbook site at ''.
        /var/lib/gems/1.9.1/gems/berkshelf-3.1.3/lib/berkshelf/community_rest.rb:123:in `find'
        /var/lib/gems/1.9.1/gems/berkshelf-3.1.3/lib/berkshelf/community_rest.rb:100:in `download'
        /var/lib/gems/1.9.1/gems/berkshelf-3.1.3/lib/berkshelf/downloader.rb:53:in `try_download'
        /var/lib/gems/1.9.1/gems/berkshelf-3.1.3/lib/berkshelf/downloader.rb:33:in `block in download'
        /var/lib/gems/1.9.1/gems/berkshelf-3.1.3/lib/berkshelf/downloader.rb:32:in `each'
        /var/lib/gems/1.9.1/gems/berkshelf-3.1.3/lib/berkshelf/downloader.rb:32:in `download'
        /var/lib/gems/1.9.1/gems/berkshelf-3.1.3/lib/berkshelf/installer.rb:101:in `install'
        /var/lib/gems/1.9.1/gems/celluloid-0.16.0.pre/lib/celluloid/calls.rb:26:in `public_send'
        /var/lib/gems/1.9.1/gems/celluloid-0.16.0.pre/lib/celluloid/calls.rb:26:in `dispatch'
        /var/lib/gems/1.9.1/gems/celluloid-0.16.0.pre/lib/celluloid/calls.rb:63:in `dispatch'
        /var/lib/gems/1.9.1/gems/celluloid-0.16.0.pre/lib/celluloid/cell.rb:60:in `block in invoke'
        /var/lib/gems/1.9.1/gems/celluloid-0.16.0.pre/lib/celluloid/cell.rb:71:in `block in task'
        /var/lib/gems/1.9.1/gems/celluloid-0.16.0.pre/lib/celluloid/actor.rb:362:in `block in task'
        /var/lib/gems/1.9.1/gems/celluloid-0.16.0.pre/lib/celluloid/tasks.rb:55:in `block in initialize'
        /var/lib/gems/1.9.1/gems/celluloid-0.16.0.pre/lib/celluloid/tasks/task_fiber.rb:15:in `block in create'
E, [2014-07-28T17:21:47.954064 #2945] ERROR -- : Actor crashed!
Berkshelf::CommunitySiteError: An unexpected error occurred retrieving 'chef-sugar' (2.0.0) from the cookbook site at ''.
        /var/lib/gems/1.9.1/gems/berkshelf-3.1.3/lib/berkshelf/community_rest.rb:123:in `find'
        /var/lib/gems/1.9.1/gems/berkshelf-3.1.3/lib/berkshelf/community_rest.rb:100:in `download'
        /var/lib/gems/1.9.1/gems/berkshelf-3.1.3/lib/berkshelf/downloader.rb:53:in `try_download'
        /var/lib/gems/1.9.1/gems/berkshelf-3.1.3/lib/berkshelf/downloader.rb:33:in `block in download'
        /var/lib/gems/1.9.1/gems/berkshelf-3.1.3/lib/berkshelf/downloader.rb:32:in `each'
        /var/lib/gems/1.9.1/gems/berkshelf-3.1.3/lib/berkshelf/downloader.rb:32:in `download'
        /var/lib/gems/1.9.1/gems/berkshelf-3.1.3/lib/berkshelf/installer.rb:101:in `install'
        /var/lib/gems/1.9.1/gems/celluloid-0.16.0.pre/lib/celluloid/calls.rb:26:in `public_send'
        /var/lib/gems/1.9.1/gems/celluloid-0.16.0.pre/lib/celluloid/calls.rb:26:in `dispatch'
        /var/lib/gems/1.9.1/gems/celluloid-0.16.0.pre/lib/celluloid/calls.rb:63:in `dispatch'
        /var/lib/gems/1.9.1/gems/celluloid-0.16.0.pre/lib/celluloid/cell.rb:60:in `block in invoke'
        /var/lib/gems/1.9.1/gems/celluloid-0.16.0.pre/lib/celluloid/cell.rb:71:in `block in task'
        /var/lib/gems/1.9.1/gems/celluloid-0.16.0.pre/lib/celluloid/actor.rb:362:in `block in task'
        /var/lib/gems/1.9.1/gems/celluloid-0.16.0.pre/lib/celluloid/tasks.rb:55:in `block in initialize'
        /var/lib/gems/1.9.1/gems/celluloid-0.16.0.pre/lib/celluloid/tasks/task_fiber.rb:15:in `block in create'
An unexpected error occurred retrieving 'aws' (2.3.0) from the cookbook site at ''.
Using chef_handler (1.1.6)
Installing database (2.2.0)
E, [2014-07-28T17:21:47.968019 #2945] ERROR -- : Actor crashed!
RuntimeError:
        /var/lib/gems/1.9.1/gems/celluloid-0.16.0.pre/lib/celluloid/tasks/task_fiber.rb:25:in `resume'
        /var/lib/gems/1.9.1/gems/celluloid-0.16.0.pre/lib/celluloid/tasks/task_fiber.rb:25:in `deliver'
        /var/lib/gems/1.9.1/gems/celluloid-0.16.0.pre/lib/celluloid/tasks.rb:93:in `resume'
        /var/lib/gems/1.9.1/gems/celluloid-0.16.0.pre/lib/celluloid/actor.rb:358:in `task'
        /var/lib/gems/1.9.1/gems/celluloid-0.16.0.pre/lib/celluloid/cell.rb:67:in `task'
        /var/lib/gems/1.9.1/gems/celluloid-0.16.0.pre/lib/celluloid/cell.rb:59:in `invoke'
        /var/lib/gems/1.9.1/gems/celluloid-0.16.0.pre/lib/celluloid/cell.rb:34:in `block in initialize'
        /var/lib/gems/1.9.1/gems/celluloid-0.16.0.pre/lib/celluloid/handlers.rb:38:in `call'
        /var/lib/gems/1.9.1/gems/celluloid-0.16.0.pre/lib/celluloid/handlers.rb:38:in `call'
        /var/lib/gems/1.9.1/gems/celluloid-0.16.0.pre/lib/celluloid/handlers.rb:19:in `handle_message'
        /var/lib/gems/1.9.1/gems/celluloid-0.16.0.pre/lib/celluloid/actor.rb:285:in `handle_message'
        /var/lib/gems/1.9.1/gems/celluloid-0.16.0.pre/lib/celluloid/actor.rb:150:in `run'
        /var/lib/gems/1.9.1/gems/celluloid-0.16.0.pre/lib/celluloid/actor.rb:129:in `block in start'
        /var/lib/gems/1.9.1/gems/celluloid-0.16.0.pre/lib/celluloid/thread_handle.rb:13:in `block in initialize'
        /var/lib/gems/1.9.1/gems/celluloid-0.16.0.pre/lib/celluloid/actor_system.rb:32:in `block in get_thread'
        /var/lib/gems/1.9.1/gems/celluloid-0.16.0.pre/lib/celluloid/internal_pool.rb:99:in `call'
        /var/lib/gems/1.9.1/gems/celluloid-0.16.0.pre/lib/celluloid/internal_pool.rb:99:in `block in create'
vagrant@workstation:/vagrant$

@cschneid
Copy link
Author

Solved!

11:25 patbyrne: cschneid: try changing to use https://api.berkshelf.com instead of http

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment