search for: tc7target

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

Did you mean: c_target
2013 Jan 21
3
How to watch a logfile in Puppet?
...it 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 "Puppet Users&quot...