Comment 1 for bug 803855

Revision history for this message
Kapil Thangavelu (hazmat) wrote : Re: peer hooks are not invoked

i already addressed this on irc and separately via email. the peer hooks are being invoked, the problem is that the hooks have errors.

  <hazmat> negronjl, so the problem with the tomcat formula is that its using relative addressing to files
  <hazmat> 2011-06-29 11:38:28,105 unit:tomcat6/1: hook.output ERROR: sed: can't read /usr/lib/ensemble/txzookeeper/../templates/tomcat-server-xml-top.tmpl: No such file or directory
  <hazmat> hth
  <hazmat> that output is from the debug-log which is very useful for debugging problems.. as is the debug-hooks cmd
  <hazmat> negronjl, there's a branch in review to ensure that formula hooks are always executed from the formula dir
  <hazmat> but it hasn't landed, atm the hook PWD isn't something that can be relied on by hooks
  <hazmat> and addressing paths from there should be absolute
  <hazmat> negronjl, i guess in this case your trying to get to some formula included config?
  <hazmat> negronjl, which will become more easier once bug 761015 is fixed

If this isn't capturing the entire issue, please add additional details.