New line in mc-rpc output

asked 2014-11-24 17:17:44 -0600

oracle_mcollective gravatar image

I am using Mcollective 1.1.1 on RHEL release 5.10. When running any mc-rpc command, the output has an extra \n that is not in the command result, like below, for example:

... ... slc04bpr.us.oracle.com : OK {:exitcode=>0, :output=>"0\n"} ... ...

The actual command result is 0, but is output as 0\n.

On another environment which has RHEL 5.9, this behavior is not seen. Can you please suggest how this \n can be prevented in the output?

edit retag flag offensive close merge delete