[chef] Re: Chef push jobs - output


Chronological Thread 
  • From: Mark Anderson < >
  • To:
  • Subject: [chef] Re: Chef push jobs - output
  • Date: Fri, 30 Jan 2015 17:28:36 -0800

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 < " target="_blank"> > 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 " style="color:rgb(105,117,130)" target="_blank">@chef.io




Archive powered by MHonArc 2.6.16.

§