Skip to content

Instantly share code, notes, and snippets.

@thommay
Created August 20, 2009 12:46
Show Gist options
  • Select an option

  • Save thommay/171047 to your computer and use it in GitHub Desktop.

Select an option

Save thommay/171047 to your computer and use it in GitHub Desktop.
[Thu, 20 Aug 2009 13:49:42 +0100] DEBUG: Converging node samizdat_is_betfair
[Thu, 20 Aug 2009 13:49:42 +0100] DEBUG: Processing execute[c]
[Thu, 20 Aug 2009 13:49:42 +0100] DEBUG: execute[c] using Chef::Provider::Execute
[Thu, 20 Aug 2009 13:49:42 +0100] DEBUG: Doing nothing for execute[c]
[Thu, 20 Aug 2009 13:49:42 +0100] DEBUG: Processing execute[b]
[Thu, 20 Aug 2009 13:49:42 +0100] DEBUG: execute[b] using Chef::Provider::Execute
[Thu, 20 Aug 2009 13:49:42 +0100] DEBUG: Doing nothing for execute[b]
[Thu, 20 Aug 2009 13:49:42 +0100] DEBUG: Processing execute[a]
[Thu, 20 Aug 2009 13:49:42 +0100] DEBUG: execute[a] using Chef::Provider::Execute
[Thu, 20 Aug 2009 13:49:42 +0100] DEBUG: Executing echo hello!
[Thu, 20 Aug 2009 13:49:42 +0100] DEBUG: ---- Begin output of echo hello! ----
[Thu, 20 Aug 2009 13:49:42 +0100] DEBUG: STDOUT: hello!
[Thu, 20 Aug 2009 13:49:42 +0100] DEBUG: STDERR:
[Thu, 20 Aug 2009 13:49:42 +0100] DEBUG: ---- End output of echo hello! ----
[Thu, 20 Aug 2009 13:49:42 +0100] DEBUG: Ran echo hello! returned 0
[Thu, 20 Aug 2009 13:49:42 +0100] INFO: Ran execute[a] successfully
[Thu, 20 Aug 2009 13:49:42 +0100] INFO: execute[a] sending run action to execute[b] (immediate)
[Thu, 20 Aug 2009 13:49:42 +0100] DEBUG: execute[b] using Chef::Provider::Execute
[Thu, 20 Aug 2009 13:49:42 +0100] DEBUG: Executing echo world
[Thu, 20 Aug 2009 13:49:42 +0100] DEBUG: ---- Begin output of echo world ----
[Thu, 20 Aug 2009 13:49:42 +0100] DEBUG: STDOUT: world
[Thu, 20 Aug 2009 13:49:42 +0100] DEBUG: STDERR:
[Thu, 20 Aug 2009 13:49:42 +0100] DEBUG: ---- End output of echo world ----
[Thu, 20 Aug 2009 13:49:42 +0100] DEBUG: Ran echo world returned 0
[Thu, 20 Aug 2009 13:49:42 +0100] INFO: Ran execute[b] successfully
[Thu, 20 Aug 2009 13:49:42 +0100] INFO: Chef Run complete in 0.694382 seconds
execute "c" do
command "echo test"
action :nothing
end
execute "b" do
command "echo world"
action :nothing
notifies :run, resources(:execute => "c"), :immediately
end
execute "a" do
command "echo hello!"
notifies :run, resources(:execute => "b"), :immediately
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment