Skip to content

Instantly share code, notes, and snippets.

@ezra-g
Created March 13, 2012 18:20
Show Gist options
  • Save ezra-g/2030447 to your computer and use it in GitHub Desktop.
Save ezra-g/2030447 to your computer and use it in GitHub Desktop.
Please enter your password:
INFO: Processing directory[/Users/ezra/.megalodon] action create (megalodon::default line 21)
INFO: Processing directory[/usr/local/etc/megalodon] action create (megalodon::default line 27)
INFO: Processing directory[/usr/local/var/www] action create (megalodon::default line 31)
INFO: Processing directory[/Users/ezra/.megalodon/data_bags] action create (megalodon::default line 35)
INFO: Processing directory[/Users/ezra/Library/LaunchAgents] action create (megalodon::default line 39)
INFO: Processing template[/Users/ezra/.megalodon.profile] action create (megalodon::default line 43)
INFO: Processing execute[include megalodon environment into defaults for ~/.bash_profile] action run (megalodon::default line 52)
INFO: Processing execute[include megalodon environment into defaults for ~/.bashrc] action run (megalodon::default line 52)
INFO: execute[include megalodon environment into defaults for ~/.bashrc] sh(if [ -f ~/.bashrc ]; then echo 'source ~/.megalodon.profile' >> ~/.bashrc; fi)
INFO: execute[include megalodon environment into defaults for ~/.bashrc] ran successfully
INFO: Processing execute[include megalodon environment into defaults for ~/.zshrc] action run (megalodon::default line 52)
INFO: execute[include megalodon environment into defaults for ~/.zshrc] sh(if [ -f ~/.zshrc ]; then echo 'source ~/.megalodon.profile' >> ~/.zshrc; fi)
INFO: execute[include megalodon environment into defaults for ~/.zshrc] ran successfully
INFO: Processing execute[setup megalodon profile sourcing in ~/.profile] action run (megalodon::default line 58)
INFO: Processing package[git] action install (megalodon::default line 63)
INFO: Processing script[updating homebrew from github] action run (megalodon::default line 64)
INFO: script[updating homebrew from github] sh("bash" "/var/folders/5y/vzhpphj12z1c0nnbcs1qbn1m0000gn/T/chef-script20120313-32658-1k1o08o")
ERROR: script[updating homebrew from github] (megalodon::default line 64) has had an error
ERROR: script[updating homebrew from github] (/usr/local/Cellar/megalodon/HEAD/cookbooks/megalodon/recipes/default.rb:64:in `from_file') had an error:
script[updating homebrew from github] (megalodon::default line 64) had an error: Expected process to exit with [0], but received '1'
---- Begin output of "bash" "/var/folders/5y/vzhpphj12z1c0nnbcs1qbn1m0000gn/T/chef-script20120313-32658-1k1o08o" ----
STDOUT:
STDERR:
---- End output of "bash" "/var/folders/5y/vzhpphj12z1c0nnbcs1qbn1m0000gn/T/chef-script20120313-32658-1k1o08o" ----
Ran "bash" "/var/folders/5y/vzhpphj12z1c0nnbcs1qbn1m0000gn/T/chef-script20120313-32658-1k1o08o" returned 1
/usr/local/Cellar/ruby/1.9.3-p0/lib/ruby/gems/1.9.1/gems/chef-0.10.4/lib/chef/shell_out.rb:207:in `invalid!'
/usr/local/Cellar/ruby/1.9.3-p0/lib/ruby/gems/1.9.1/gems/chef-0.10.4/lib/chef/shell_out.rb:193:in `error!'
/usr/local/Cellar/ruby/1.9.3-p0/lib/ruby/gems/1.9.1/gems/chef-0.10.4/lib/chef/mixin/shell_out.rb:36:in `shell_out!'
/usr/local/Cellar/ruby/1.9.3-p0/lib/ruby/gems/1.9.1/gems/chef-0.10.4/lib/chef/provider/execute.rb:58:in `action_run'
/usr/local/Cellar/ruby/1.9.3-p0/lib/ruby/gems/1.9.1/gems/chef-0.10.4/lib/chef/provider/script.rb:33:in `action_run'
/usr/local/Cellar/ruby/1.9.3-p0/lib/ruby/gems/1.9.1/gems/chef-0.10.4/lib/chef/resource.rb:437:in `run_action'
/usr/local/Cellar/ruby/1.9.3-p0/lib/ruby/gems/1.9.1/gems/chef-0.10.4/lib/chef/runner.rb:45:in `run_action'
/usr/local/Cellar/ruby/1.9.3-p0/lib/ruby/gems/1.9.1/gems/chef-0.10.4/lib/chef/runner.rb:81:in `block (2 levels) in converge'
/usr/local/Cellar/ruby/1.9.3-p0/lib/ruby/gems/1.9.1/gems/chef-0.10.4/lib/chef/runner.rb:81:in `each'
/usr/local/Cellar/ruby/1.9.3-p0/lib/ruby/gems/1.9.1/gems/chef-0.10.4/lib/chef/runner.rb:81:in `block in converge'
/usr/local/Cellar/ruby/1.9.3-p0/lib/ruby/gems/1.9.1/gems/chef-0.10.4/lib/chef/resource_collection.rb:94:in `block in execute_each_resource'
/usr/local/Cellar/ruby/1.9.3-p0/lib/ruby/gems/1.9.1/gems/chef-0.10.4/lib/chef/resource_collection/stepable_iterator.rb:116:in `call'
/usr/local/Cellar/ruby/1.9.3-p0/lib/ruby/gems/1.9.1/gems/chef-0.10.4/lib/chef/resource_collection/stepable_iterator.rb:116:in `call_iterator_block'
/usr/local/Cellar/ruby/1.9.3-p0/lib/ruby/gems/1.9.1/gems/chef-0.10.4/lib/chef/resource_collection/stepable_iterator.rb:85:in `step'
/usr/local/Cellar/ruby/1.9.3-p0/lib/ruby/gems/1.9.1/gems/chef-0.10.4/lib/chef/resource_collection/stepable_iterator.rb:104:in `iterate'
/usr/local/Cellar/ruby/1.9.3-p0/lib/ruby/gems/1.9.1/gems/chef-0.10.4/lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index'
/usr/local/Cellar/ruby/1.9.3-p0/lib/ruby/gems/1.9.1/gems/chef-0.10.4/lib/chef/resource_collection.rb:92:in `execute_each_resource'
/usr/local/Cellar/ruby/1.9.3-p0/lib/ruby/gems/1.9.1/gems/chef-0.10.4/lib/chef/runner.rb:76:in `converge'
/usr/local/Cellar/ruby/1.9.3-p0/lib/ruby/gems/1.9.1/gems/chef-0.10.4/lib/chef/client.rb:312:in `converge'
/usr/local/Cellar/ruby/1.9.3-p0/lib/ruby/gems/1.9.1/gems/chef-0.10.4/lib/chef/client.rb:160:in `run'
/usr/local/Cellar/ruby/1.9.3-p0/lib/ruby/gems/1.9.1/gems/chef-0.10.4/lib/chef/application/solo.rb:192:in `block in run_application'
/usr/local/Cellar/ruby/1.9.3-p0/lib/ruby/gems/1.9.1/gems/chef-0.10.4/lib/chef/application/solo.rb:183:in `loop'
/usr/local/Cellar/ruby/1.9.3-p0/lib/ruby/gems/1.9.1/gems/chef-0.10.4/lib/chef/application/solo.rb:183:in `run_application'
/usr/local/Cellar/ruby/1.9.3-p0/lib/ruby/gems/1.9.1/gems/chef-0.10.4/lib/chef/application.rb:67:in `run'
/usr/local/Cellar/ruby/1.9.3-p0/lib/ruby/gems/1.9.1/gems/chef-0.10.4/bin/chef-solo:25:in `<top (required)>'
/usr/local/Cellar/ruby/1.9.3-p0/bin/chef-solo:19:in `load'
/usr/local/Cellar/ruby/1.9.3-p0/bin/chef-solo:19:in `<main>'
ERROR: Running exception handlers
ERROR: Exception handlers complete
FATAL: Stacktrace dumped to /var/folders/5y/vzhpphj12z1c0nnbcs1qbn1m0000gn/T/megalodon/cookbooks/chef-stacktrace.out
FATAL: Chef::Exceptions::ShellCommandFailed: script[updating homebrew from github] (megalodon::default line 64) had an error: Expected process to exit with [0], but received '1'
---- Begin output of "bash" "/var/folders/5y/vzhpphj12z1c0nnbcs1qbn1m0000gn/T/chef-script20120313-32658-1k1o08o" ----
STDOUT:
STDERR:
---- End output of "bash" "/var/folders/5y/vzhpphj12z1c0nnbcs1qbn1m0000gn/T/chef-script20120313-32658-1k1o08o" ----
Ran "bash" "/var/folders/5y/vzhpphj12z1c0nnbcs1qbn1m0000gn/T/chef-script20120313-32658-1k1o08o" returned 1
Wally2:docroot ezra$ sudo nano /etc/hosts
Password:
Wally2:docroot ezra$ sudo nano /etc/hosts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment