Notify is not a function. It is a resource type. It essentially logs on the 
client by putting a message in the client's catalog.

alert, crit, debug, emerg, err, info, notice and warning are functions. 
They will record a message to the server's log at the specified level. 
Parsing and execution will continue. I did not list the levels in any 
particular order.

fail is also a function. It is a way to programatically cause a parse 
failure. The error will be logged and execution on the current node will 
stop.

I'm not sure what you mean about ErrorLog. Where did you see it?

On Friday, January 18, 2013 5:13:35 AM UTC-8, bernard...@morpho.com wrote:
>
> Hi,
>
> Is there a tutorial on exceptions and error management in puppet script ?
>
>  
>
> I read the manual  and found information which is confusing for me.
>
>  
>
> There is the notify function which seems to be executed on agent.
>
>  
>
> There are functions like notice, alert, fail and so on which are executed 
> on server.
>
>  
>
> And I read the ErrorLog word.
>
>  
>
> So how to put all things together, what is the right policy ?
>
>  
>
> Cordialement,
>
>  
>
> Bernard Granier
>
> CE Plateforme Système
>
> bernard.gran...@morpho.com <javascript:>
>
> 01 58 11 32 51
>
>  
>
> #
> " This e-mail and any attached documents may contain confidential or 
> proprietary information. If you are not the intended recipient, you are 
> notified that any dissemination, copying of this e-mail and any attachments 
> thereto or use of their contents by any means whatsoever is strictly 
> prohibited. If you have received this e-mail in error, please advise the 
> sender immediately and delete this e-mail and all attached documents from 
> your computer system."
> #
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/BwmVPXNfxcgJ.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to