- From: Maciej Pasternacki <
>
- To: Hui Hu <
>
- Cc:
- Subject: [chef-dev] Re: Any plan for CHEF-2627 (Knife SSH should return exit code based on whether or not ssh command is successful or not)
- Date: Wed, 2 May 2012 10:17:12 +0200
- Domainkey-signature: a=rsa-sha1; c=nofws; d=pasternacki.net; h=subject :mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; q=dns; s= pasternacki.net; b=dhNksJjPqKz1ZPUsTwfRTtMfQArCQ1X6vRTB4LIEXqo5J VArEa2nCBECI/y3tl7zEmXbkdVXA9EHK1DsIqtg/AKS2w9rusYvZH1aXMYFgVpMu Fs13c4SKh+DZ5oG8/slS5RLghM7j2yTH0/IYFtYvgxa68VSeAypXL45x0EZnq8=
BIG +1 on this.
I'm using knife ssh to execute maintenance commands in parallel. Diagnostic
output is hard to miss when there are many machines. Knife should at the very
least exit a non-zero status, and optimally print at the end of the session
list of machines with non-zero exit status (and the respective statuses).
-- M
On May 2, 2012, at 7:53 , Hui Hu wrote:
>
Hello,
>
>
I've been using Chef for several months.
>
>
Are Chef developers going to fix this ticket
>
http://tickets.opscode.com/browse/CHEF-2627 (Knife SSH should return exit
>
code based on whether or not ssh command is successful or not) ? I really
>
want to know whether the command Chef::Knife::Bootstrap.run (which calls
>
Chef::Knife::Ssh.run) is successful or not, so I can perform next step
>
based on the result.
>
>
Thanks & Best Regards,
>
Hui Hu
>
Archive powered by MHonArc 2.6.16.