hook for destruction

William Reade william.reade at canonical.com
Fri Nov 16 09:24:40 UTC 2012


On Wed, 2012-11-14 at 11:17 -0200, Gustavo Niemeyer wrote:
> On Wed, Nov 14, 2012 at 10:36 AM, Marcos Barbosa
> > I'm developing a Amazon RDS charm, but I need execute a script before
> > destruction to delete DB instance.
> 
> The stop hook looks like a good place for those.

I'm not sure about this... I seem to recall we discussed the possibility
of stop/start for "pause" functionality, which might become important
when we come to implement storage. For destructive operations, I'd
prefer to introduce something like a "destroy" hook. Crack?


> 
> gustavo @ http://niemeyer.net
> 






More information about the Juju mailing list