hook for destruction
Gustavo Niemeyer
gustavo.niemeyer at canonical.com
Fri Nov 16 10:57:18 UTC 2012
On Fri, Nov 16, 2012 at 7:24 AM, William Reade
<william.reade at canonical.com> wrote:
> 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?
Good point. Doesn't feel like crack, but if we add a such a destroy
hook, we'd indeed have to wait for these hooks to run on
destroy-environment, as it'd be error prone to call destroy and not
have destroy running. Maybe that's what we should do anyway.
gustavo @ http://niemeyer.net
More information about the Juju
mailing list