search for: documentr

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

Did you mean: document
2013 Jan 21
3
How to watch a logfile in Puppet?
...ef experience. Now trying to convert my pet project from Chef to Puppet. When I start a Tomcat is takes some time (several 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...