Displaying 1 result from an estimated 1 matches for "tomcat7_logwatch".
Did you mean:
tomcat7_logwatcher
2013 Jan 21
3
How to watch a logfile in Puppet?
...ral seconds).
I need to wait a line "Server startup in" in Tomcat''s log before proceeding.
Here is a way which I used in Chef:
https://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 &qu...