- From: Alex Soto <
>
- To:
- Subject: [chef] Re: Re: commands output for execute/script resources
- Date: Tue, 2 Nov 2010 10:25:02 -0700
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=jVWCB6PiDPNoxuhHU32coEjyka+LSNZn+oAw6z5Q3kMIdPwx+jl90XQehy/j5yGJ+j Xsp07vwYmuVgJS1hE5eOQUDlqDN7rzSSbK7w7rXKOlS2jm3WgtNkRmKTmGxVm4Fg8gcS L4k07EQ7Uo3n+GA81GSsCj/VUCAYPTezgr6Bo=
I'd like to see:
- the ability to turn on the command output when the command fails instead of
the error message Dan mentioned
- when you tell it to ignore a non-zero result code, I'd like to not display
the output
On Nov 2, 2010, at 9:18 AM, Seth Falcon wrote:
>
Hi,
>
>
On Tue, Nov 2, 2010 at 7:55 AM, Vladimir Girnet
>
<
>
>
wrote:
>
> Sometimes it is required to see output of a command or a script. I know
>
> that
>
> "-l debug" will display it, but it will also display a lot of non-required
>
> debug information.
>
>
>
> Is there a way to display output of a specific "execute", "package" or
>
> "script/bash" resources, except debug mode?
>
>
>
> Is it possible to add for "execute", "package" and "script/bash" resources
>
> a
>
> new option "output", which is by default false, but can be set to true to
>
> display execution results?
>
>
Is it that you want to process the output of a resource or just see it
>
in the logs in more detail?
>
If I'm understanding right, you just want the output to appear in the
>
log. I'd like to understand a bit more on the motivation. Is this
>
for debugging, but where debug -l produces too much info or for
>
another purpose?
>
>
+ seth
Archive powered by MHonArc 2.6.16.