Comment 1 for bug 806098

Revision history for this message
Gustavo Niemeyer (niemeyer) wrote : Re: fact repository for Ensemble

I don't think I understand the problem. Hooks reflect specific events, and do not enforce in any way what you're supposed to be doing within them. The install hook, by design, is called just once when the formula is first installed, and in general is a convenient location to run installation of software. That said, there's nothing preventing you from running logic in any of the other hooks. If you can only install/start the software when a relation is established, you should feel free to do so.