Skip to content

Instantly share code, notes, and snippets.

@trobrock
Created August 30, 2012 20:53
Show Gist options
  • Save trobrock/3540684 to your computer and use it in GitHub Desktop.
Save trobrock/3540684 to your computer and use it in GitHub Desktop.
[2012-08-30T15:02:18-07:00] INFO: Processing directory[/var/apps/outight_app/current/log] action delete (outright-application::default line 60)
[2012-08-30T15:02:18-07:00] INFO: Processing directory[/var/apps/outight_app/current/public/system] action delete (outright-application::default line 60)
[2012-08-30T15:02:18-07:00] INFO: Processing directory[/var/apps/outight_app/current/tmp/pids] action delete (outright-application::default line 60)
[2012-08-30T15:02:18-07:00] INFO: Processing execute[test ! -d /var/apps/outright_app/current/log] action run (outright-application::default line 66)
[2012-08-30T15:02:18-07:00] ERROR: execute[test ! -d /var/apps/outright_app/current/log] (outright-application::default line 66) has had an error
[2012-08-30T15:02:18-07:00] ERROR: execute[test ! -d /var/apps/outright_app/current/log] (/var/chef/cache/cookbooks/outright-application/recipes/default.rb:66:in `from_file') had an
error:
execute[test ! -d /var/apps/outright_app/current/log] (outright-application::default line 66) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], b
ut received '1'
---- Begin output of test ! -d /var/apps/outright_app/current/log ----
STDOUT:
STDERR:
---- End output of test ! -d /var/apps/outright_app/current/log ----
Ran test ! -d /var/apps/outright_app/current/log returned 1
/usr/lib64/ruby/gems/1.8/gems/mixlib-shellout-1.1.0/lib/mixlib/shellout.rb:248:in `invalid!'
/usr/lib64/ruby/gems/1.8/gems/mixlib-shellout-1.1.0/lib/mixlib/shellout.rb:234:in `error!'
/usr/lib64/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/mixin/shell_out.rb:36:in `shell_out!'
/usr/lib64/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/provider/execute.rb:58:in `action_run'
/usr/lib64/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/resource.rb:454:in `send'
/usr/lib64/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/resource.rb:454:in `run_action'
/usr/lib64/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/runner.rb:49:in `run_action'
/usr/lib64/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/runner.rb:85:in `converge'
/usr/lib64/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/runner.rb:85:in `each'
/usr/lib64/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/runner.rb:85:in `converge'
/usr/lib64/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/resource_collection.rb:94:in `execute_each_resource'
/usr/lib64/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:in `call'
/usr/lib64/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:in `call_iterator_block'
/usr/lib64/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/resource_collection/stepable_iterator.rb:85:in `step'
/usr/lib64/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/resource_collection/stepable_iterator.rb:104:in `iterate'
/usr/lib64/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index'
/usr/lib64/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/resource_collection.rb:92:in `execute_each_resource'
/usr/lib64/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/runner.rb:80:in `converge'
/usr/lib64/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/client.rb:330:in `converge'
/usr/lib64/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/client.rb:163:in `run'
/usr/lib64/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/application/client.rb:254:in `run_application'
/usr/lib64/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/application/client.rb:241:in `loop'
/usr/lib64/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/application/client.rb:241:in `run_application'
/usr/lib64/ruby/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/application.rb:70:in `run'
/usr/lib64/ruby/gems/1.8/gems/chef-10.12.0/bin/chef-client:26
/usr/bin/chef-client:23:in `load'
/usr/bin/chef-client:23
[2012-08-30T15:02:18-07:00] ERROR: Running exception handlers
[2012-08-30T15:02:18-07:00] FATAL: Saving node information to /var/chef/cache/failed-run-data.json
[2012-08-30T15:02:18-07:00] ERROR: Exception handlers complete
[2012-08-30T15:02:18-07:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
[2012-08-30T15:02:18-07:00] FATAL: Mixlib::ShellOut::ShellCommandFailed: execute[test ! -d /var/apps/outright_app/current/log] (outright-application::default line 66) had an error: M
ixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of test ! -d /var/apps/outright_app/current/log ----
STDOUT:
STDERR:
---- End output of test ! -d /var/apps/outright_app/current/log ----
directory "/var/apps/outight_app/current/log" do
action :delete
end
execute "test ! -d /var/apps/outright_app/current/log"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment