----- Original Message -----
From: "Zane Bitter" <zbitter(a)redhat.com>
To: matahari(a)lists.fedorahosted.org
Sent: Thursday, September 29, 2011 7:55:12 AM
Subject: Re: [Matahari] [PATCH] Add test for augeas support in sysconfig agent
On 29/09/11 08:40, Radek Novacek wrote:
> Output of augeas commands needs to be present in the result
> somehow.
> Augeas can be used for getting values, so it should be part of the
> result in the key.
>
> How about this content of the key:
>
> 1) "OK\n%s", result of (augeas) command if any
>
> 2) "FAILED\n%d\n%s", exit code from process/API, description of the
> error/other data
>
> This way we can store some data with the key to be accessible from
> caller.
+1
I was under the impression we were doing exactly that already for
puppet in the error case.
Alright, this format makes sense. It's compatible with what's being done with
puppet and that was my primary concern. ACK.
--
Russell Bryant