search for: watch_for_lin

Displaying 1 result from an estimated 1 matches for "watch_for_lin".

Did you mean: watch_for_line
2013 Jan 21
3
How to watch a logfile in Puppet?
...ps://github.com/abrindeyev/documentr-tomcat-cookbooks/blob/master/cookbooks/tomcat7/providers/logwatcher.rb And include following in your recipe: tomcat7_logwatcher "#{tc7target}/apache-tomcat-#{tc7ver}/logs/catalina.out" do pattern "Server startup in" timeout 60 action :watch_for_line end What is an easy way to do the same in Puppet world? Andrey. -- 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/-/WtW6gPXF42oJ. To post to this gr...