Hook scripts into "release" on maas?

Jim Tilander jim at tilander.org
Wed Feb 1 21:17:22 UTC 2017


Thanks Andres,

I actually just want to POST to an URL with curl to nudge our puppet server to release the node as well.

Cheers,
Jim

> On Feb 1, 2017, at 1:15 PM, Andres Rodriguez <andres.rodriguez at canonical.com> wrote:
> 
> Hi Jim,
> 
> I just wanted to add that while the "Release" operation does not have the ability to run extra "scripts" and such, MAAS already supports the ability to wipe disks on Release. You can do both a full or a fast disk wipe.
> 
> You can do this via the API, CLI or Web UI.
> 
> Let me know if you need more info.
> 
> Thanks.
> 
> On Wed, Feb 1, 2017 at 12:44 PM, Jim Tilander <jim at tilander.org <mailto:jim at tilander.org>> wrote:
> Hi,
> 
> I’ve got puppet hooked up to the images we deploy with maas and need some way to cleanup the nodes that we “release” from puppet. I’m wondering if there are some hooks on the maas server itself that fire when you click “Release” in the webUI, alternatively react to any released node with appropriate metadata so one can perform some cleanup?
> 
> Cheers,
> Jim
> --
> Maas-devel mailing list
> Maas-devel at lists.ubuntu.com <mailto:Maas-devel at lists.ubuntu.com>
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/maas-devel <https://lists.ubuntu.com/mailman/listinfo/maas-devel>
> 
> 
> 
> -- 
> Andres Rodriguez
> Engineering Manager, MAAS
> Canonical USA, Inc.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/maas-devel/attachments/20170201/968035cf/attachment.html>


More information about the Maas-devel mailing list