Re: [Puppet Users] Re: Not getting errors/warnings/etc in reports

2011-08-01 Thread Rich Rauenzahn
On Thu, Jul 21, 2011 at 7:37 AM, Peter Meier peter.me...@immerda.ch 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

Re: [Puppet Users] Re: Not getting errors/warnings/etc in reports

2011-07-21 Thread Peter Meier
-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) Digging through

[Puppet Users] Re: Not getting errors/warnings/etc in reports

2011-07-20 Thread Rich Rauenzahn
On Tue, Jul 19, 2011 at 11:03 AM, Rich Rauenzahn rraue...@gmail.com 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