On Thu, Jul 21, 2011 at 7:37 AM, Peter Meier wrote:
>> I'm still not getting my error() messages in the report yaml ... why?
>
> Probably, because functions are evaluated on the master, while the
> report is created on the client when the catalog is applied. So these
> messages never get sent down
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
>> I'm guessing I'll have to write my own to do that -- does anyone have
>> any examples of logging the error message and also adding it to the
>> report object? (... and I don't really want to use the exec {
>> "/bin/false": } workaround)
>
> Diggi
On Tue, Jul 19, 2011 at 11:03 AM, Rich Rauenzahn wrote:
> I assumed this would have been fixed by 2.7.1, but it appears that
> when we call the functions err(), warning(), etc., that they don't get
> added to the report object, which we are using to generate nagios
> alerts.
>
> I'm guessing I'll