Chef push jobs - output

Hi,

Is there a way to obtain the output from a command executed via push jobs
on a node ?

For example if I have

whitelist : {
‘read_hosts’: ‘cat /etc/hosts’
}

If I run read_hosts as a job I would get back into the console the output
of the file /etc/hosts.

thanks!

-silviu

Not in push 1.x. The next major release (2.0) will have a feature to
capture the standard error and output streams and return them to the server
for inspection.

On Fri, Jan 30, 2015 at 11:32 AM, sd dioda11@gmail.com wrote:

Hi,

Is there a way to obtain the output from a command executed via push jobs
on a node ?

For example if I have

whitelist : {
'read_hosts': 'cat /etc/hosts'
}

If I run read_hosts as a job I would get back into the console the output
of the file /etc/hosts.

thanks!

-silviu

--

Mark Anderson - Community Engineering

mark@chef.io brian@opscode.com