nailgun-mcagents: log the command being executed
Having to guess which command has failed is not that much fun. blueprint fuel-bootstrap-on-ubuntu Change-Id: Iff0feffa39d4fddadafe90b46f7e238cf026a52e
This commit is contained in:
parent
d8545b5365
commit
199a9bcb0f
|
@ -20,6 +20,7 @@ module MCollective
|
|||
class Execute_shell_command < RPC::Agent
|
||||
|
||||
action 'execute' do
|
||||
Log.debug("about to execute: #{request[:cmd]}")
|
||||
reply[:exit_code] = run(
|
||||
request[:cmd],
|
||||
:stdout => :stdout,
|
||||
|
|
Loading…
Reference in New Issue