[Puppet Users] Re: Emitting warnings in a custom function.

2009-09-16 Thread Luke Kanies
The only way to do that is to create a 'notify' resource, which is a bit more complicated from within a function. On Sep 10, 2009, at 4:36 AM, Trevor Vaughan wrote: > > It turns out that it was happening, but getting buried in the logs on > the server. > > I suppose that I was expecting someth

[Puppet Users] Re: Emitting warnings in a custom function.

2009-09-10 Thread Trevor Vaughan
It turns out that it was happening, but getting buried in the logs on the server. I suppose that I was expecting something to come up on the client as most other warnings and errors do. I understand that a function is a server-side object, but if I 'raise Puppet::ParseError' it certainly shows u

[Puppet Users] Re: Emitting warnings in a custom function.

2009-09-09 Thread Luke Kanies
On Sep 9, 2009, at 1:41 PM, Trevor Vaughan wrote: > > All, > > I apologize for asking the question since I know I've done this > before, but...does anyone know how to emit warnings in a custom > function? > > I tried Puppet.warning, but that didn't appear to print a warning > message anywhere. I