You shouldn't search support for this in puppet but in something like
monit, upstart or nagios handlers. Puppet isn't suitable for this task
although it might be possible it will be hacky.


-- 
Nikola

On Tue, May 07, 2013 at 08:19:04AM -0700, Nicola Zanetti wrote:
> Hello everyone,
> I'm using Puppet on my Ubuntu servers and I would like it to restart a 
> process whenever an error occurs while running an application. The error 
> can be detected looking at the logs of the application of course, but I 
> don't want to parse the log file to detect it. Is there a way using Puppet, 
> to trigger a script when something happens in a log file without having to 
> parse it ? 
> 
> Many thanks for your support,
> 
> 
> Best,
> 
> Nicola
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to puppet-users+unsubscr...@googlegroups.com.
> To post to this group, send email to puppet-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/puppet-users?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
> 
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to