Skip to content

Instantly share code, notes, and snippets.

@rricard
Last active December 20, 2015 15:48
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 rricard/6156464 to your computer and use it in GitHub Desktop.
Save rricard/6156464 to your computer and use it in GitHub Desktop.
Stacktrace
$ vagrant provision
[Berkshelf] This version of the Berkshelf plugin has not been fully tested on this version of Vagrant.
[Berkshelf] You should check for a newer version of vagrant-berkshelf.
[Berkshelf] If you encounter any errors with this version, please report them at https://github.com/RiotGames/vagrant-berkshelf/issues
[Berkshelf] You can also join the discussion in #berkshelf on Freenode.
[Berkshelf] Updating Vagrant's berkshelf: '/Users/rricard/.berkshelf/default/vagrant/berkshelf-20130805-21507-1x6hor0-default'
[Berkshelf] Using cluestr-ops (0.1.0)
[Berkshelf] Using apt (1.9.2)
[Berkshelf] Using git (2.5.0)
[Berkshelf] Using mongodb (0.11.0)
[Berkshelf] Using application (3.0.0)
[Berkshelf] Using application_nodejs (1.0.1)
[Berkshelf] Using dmg (1.1.0)
[Berkshelf] Using build-essential (1.4.0)
[Berkshelf] Using yum (2.3.0)
[Berkshelf] Using windows (1.10.0)
[Berkshelf] Using chef_handler (1.1.4)
[Berkshelf] Using runit (1.1.6)
[Berkshelf] Using nodejs (1.1.2)
[default] Running provisioner: chef_solo...
Generating chef JSON and uploading...
Running chef-solo...
stdin: is not a tty
[2013-08-05T14:40:47+00:00] INFO: *** Chef 10.14.2 ***
[2013-08-05T14:40:47+00:00] INFO: Setting the run_list to ["recipe[application]", "recipe[cluestr-ops::default]"] from JSON
[2013-08-05T14:40:47+00:00] INFO: Run List is [recipe[application], recipe[cluestr-ops::default]]
[2013-08-05T14:40:47+00:00] INFO: Run List expands to [application, cluestr-ops::default]
[2013-08-05T14:40:47+00:00] INFO: Starting Chef Run for cluestr-ops-berkshelf
[2013-08-05T14:40:47+00:00] INFO: Running start handlers
[2013-08-05T14:40:47+00:00] INFO: Start handlers complete.
================================================================================
Recipe Compile Error in /tmp/vagrant-chef-1/chef-solo-1/cookbooks/application_nodejs/resources/nodejs.rb
================================================================================
NameError
---------
uninitialized constant Chef::Resource::ApplicationBase
Cookbook Trace:
---------------
/tmp/vagrant-chef-1/chef-solo-1/cookbooks/application_nodejs/resources/nodejs.rb:21:in `class_from_file'
Relevant File Content:
----------------------
/tmp/vagrant-chef-1/chef-solo-1/cookbooks/application_nodejs/resources/nodejs.rb:
1: #
2: # Author:: Conrad Kramer <conrad@kramerapps.com>
3: # Cookbook Name:: application_node
4: # Resource:: node
5: #
6: # Copyright:: 2013, Kramer Software Productions, LLC. <conrad@kramerapps.com>
7: #
8: # Licensed under the Apache License, Version 2.0 (the "License");
9: # you may not use this file except in compliance with the License.
[2013-08-05T14:40:47+00:00] ERROR: Running exception handlers
[2013-08-05T14:40:47+00:00] ERROR: Exception handlers complete
[2013-08-05T14:40:47+00:00] FATAL: Stacktrace dumped to /tmp/vagrant-chef-1/chef-stacktrace.out
[2013-08-05T14:40:47+00:00] FATAL: NameError: uninitialized constant Chef::Resource::ApplicationBase
Chef never successfully completed! Any errors should be visible in the
output above. Please fix your recipes so that they properly complete.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment