Skip to content

Instantly share code, notes, and snippets.

@samgranieri
Created January 17, 2011 04:39
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 samgranieri/782498 to your computer and use it in GitHub Desktop.
Save samgranieri/782498 to your computer and use it in GitHub Desktop.
[samgranieri]% knife ssh "role:webserver" "sudo chef-client" -x sam
ubuntu.local [Sun, 16 Jan 2011 22:29:13 -0600] INFO: Starting Chef Run (Version 0.9.12)
ubuntu.local [Sun, 16 Jan 2011 22:29:15 -0600] INFO: Storing updated cookbooks/essential_packages/recipes/default.rb in the cache.
ubuntu.local [Sun, 16 Jan 2011 22:29:17 -0600] ERROR: bash[update to newer vim] (/var/chef/cache/cookbooks/essential_packages/recipes/default.rb:13:in `from_file') had an error:
ubuntu.local "bash" "/tmp/chef-script20110116-3977-tf1ga-0" returned 1, expected 0
ubuntu.local /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/mixin/command.rb:184:in `handle_command_failures'
ubuntu.local /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/mixin/command.rb:131:in `run_command'
ubuntu.local /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/provider/execute.rb:49:in `action_run'
ubuntu.local /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/provider/script.rb:33:in `action_run'
ubuntu.local /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/resource.rb:395:in `send'
ubuntu.local /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/resource.rb:395:in `run_action'
ubuntu.local /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/runner.rb:53:in `run_action'
ubuntu.local /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/runner.rb:89:in `converge'
ubuntu.local /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/runner.rb:89:in `each'
ubuntu.local /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/runner.rb:89:in `converge'
ubuntu.local /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/resource_collection.rb:94:in `execute_each_resource'
ubuntu.local /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:in `call'
ubuntu.local /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:in `call_iterator_block'
ubuntu.local /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/resource_collection/stepable_iterator.rb:85:in `step'
ubuntu.local /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/resource_collection/stepable_iterator.rb:104:in `iterate'
ubuntu.local /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index'
ubuntu.local /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/resource_collection.rb:92:in `execute_each_resource'
ubuntu.local /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/runner.rb:84:in `converge'
ubuntu.local /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/client.rb:268:in `converge'
ubuntu.local /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/client.rb:171:in `run'
ubuntu.local /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/application/client.rb:222:in `run_application'
ubuntu.local /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/application/client.rb:212:in `loop'
ubuntu.local /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/application/client.rb:212:in `run_application'
ubuntu.local /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/application.rb:62:in `run'
ubuntu.local /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/chef-client:26
ubuntu.local /usr/bin/chef-client:19:in `load'
ubuntu.local /usr/bin/chef-client:19
ubuntu.local [Sun, 16 Jan 2011 22:29:17 -0600] ERROR: Running exception handlers
ubuntu.local [Sun, 16 Jan 2011 22:29:17 -0600] ERROR: Exception handlers complete
ubuntu.local /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/mixin/command.rb:184:in `handle_command_failures': "bash" "/tmp/chef-script20110116-3977-tf1ga-0" returned 1, expected 0 (Chef::Exceptions::Exec)
ubuntu.local from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/mixin/command.rb:131:in `run_command'
ubuntu.local from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/provider/execute.rb:49:in `action_run'
ubuntu.local from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/provider/script.rb:33:in `action_run'
ubuntu.local from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/resource.rb:395:in `send'
ubuntu.local from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/resource.rb:395:in `run_action'
ubuntu.local from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/runner.rb:53:in `run_action'
ubuntu.local from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/runner.rb:89:in `converge'
ubuntu.local from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/runner.rb:89:in `each'
ubuntu.local from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/runner.rb:89:in `converge'
ubuntu.local from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/resource_collection.rb:94:in `execute_each_resource'
ubuntu.local from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:in `call'
ubuntu.local from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:in `call_iterator_block'
ubuntu.local from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/resource_collection/stepable_iterator.rb:85:in `step'
ubuntu.local from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/resource_collection/stepable_iterator.rb:104:in `iterate'
ubuntu.local from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index'
ubuntu.local from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/resource_collection.rb:92:in `execute_each_resource'
ubuntu.local from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/runner.rb:84:in `converge'
ubuntu.local from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/client.rb:268:in `converge'
ubuntu.local from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/client.rb:171:in `run'
ubuntu.local from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/application/client.rb:222:in `run_application'
ubuntu.local from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/application/client.rb:212:in `loop'
ubuntu.local from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/application/client.rb:212:in `run_application'
ubuntu.local from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/application.rb:62:in `run'
ubuntu.local from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/chef-client:26
ubuntu.local from /usr/bin/chef-client:19:in `load'
ubuntu.local from /usr/bin/chef-client:19
[sambookpro:chef-repo] [ree@chef] on master ☢
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment