Displaying 1 result from an estimated 1 matches for "tc7ver".
Did you mean:
cover
2013 Jan 21
3
How to watch a logfile in Puppet?
...tup 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" group.
To view this di...