Skip to content

Instantly share code, notes, and snippets.

@awaxa
Created September 15, 2013 21:55
Show Gist options
  • Save awaxa/6574681 to your computer and use it in GitHub Desktop.
Save awaxa/6574681 to your computer and use it in GitHub Desktop.
$ 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/awaxa/.berkshelf/default/vagrant/berkshelf-20130915-14032-11xlkwu-default'
[Berkshelf] Using awaxstation (0.1.0)
[Berkshelf] Installing homebrew (1.4.0) from site: 'http://cookbooks.opscode.com/api/v1/cookbooks'
[default] Chef 11.6.0 Omnibus package is already installed.
[default] Running provisioner: chef_solo...
Generating chef JSON and uploading...
Running chef-solo...
[2013-09-15T14:52:32-07:00] INFO: Forking chef instance to converge...
[2013-09-15T14:52:32-07:00] INFO: *** Chef 11.6.0 ***
Unable to find any JVMs matching version "(null)".
No Java runtime present, try --request to install.
[2013-09-15T14:52:32-07:00] INFO: Setting the run_list to ["recipe[awaxstation::default]"] from JSON
[2013-09-15T14:52:32-07:00] INFO: Run List is [recipe[awaxstation::default]]
[2013-09-15T14:52:32-07:00] INFO: Run List expands to [awaxstation::default]
[2013-09-15T14:52:32-07:00] INFO: Starting Chef Run for awaxstation-berkshelf
[2013-09-15T14:52:32-07:00] INFO: Running start handlers
[2013-09-15T14:52:32-07:00] INFO: Start handlers complete.
[2013-09-15T14:52:32-07:00] INFO: directory[/usr/local] owner changed to 501
[2013-09-15T14:52:35-07:00] INFO: execute[update homebrew from github] ran successfully
================================================================================
Error executing action `install` on resource 'package[coreutils]'
================================================================================
Mixlib::ShellOut::ShellCommandFailed
------------------------------------
Expected process to exit with [0], but received '1'
---- Begin output of brew install coreutils ----
STDOUT: ==> Installing dependencies for coreutils: xz
==> Installing coreutils dependency: xz
==> Downloading http://fossies.org/linux/misc/xz-5.0.5.tar.gz
Already downloaded: /Library/Caches/Homebrew/xz-5.0.5.tar.gz
STDERR: Error: Permission denied - /var/root/Library/Logs
---- End output of brew install coreutils ----
Ran brew install coreutils returned 1
Cookbook Trace:
---------------
/tmp/vagrant-chef-1/chef-solo-1/cookbooks/homebrew/libraries/homebrew_package.rb:95:in `get_response_from_command'
/tmp/vagrant-chef-1/chef-solo-1/cookbooks/homebrew/libraries/homebrew_package.rb:63:in `brew'
/tmp/vagrant-chef-1/chef-solo-1/cookbooks/homebrew/libraries/homebrew_package.rb:44:in `install_package'
Resource Declaration:
---------------------
# In /tmp/vagrant-chef-1/chef-solo-1/cookbooks/awaxstation/recipes/default.rb
35: package "coreutils" do
36: action :install
37: end
Compiled Resource:
------------------
# Declared in /tmp/vagrant-chef-1/chef-solo-1/cookbooks/awaxstation/recipes/default.rb:35:in `from_file'
package("coreutils") do
action [:install]
retries 0
retry_delay 2
package_name "coreutils"
version "8.21"
cookbook_name :awaxstation
recipe_name "default"
end
[2013-09-15T14:52:36-07:00] INFO: Running queued delayed notifications before re-raising exception
[2013-09-15T14:52:36-07:00] ERROR: Running exception handlers
[2013-09-15T14:52:36-07:00] ERROR: Exception handlers complete
[2013-09-15T14:52:36-07:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
[2013-09-15T14:52:36-07:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
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