<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Thanks Andres,<div class=""><br class=""></div><div class="">I actually just want to POST to an URL with curl to nudge our puppet server to release the node as well.</div><div class=""><br class=""></div><div class="">Cheers,</div><div class="">Jim</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Feb 1, 2017, at 1:15 PM, Andres Rodriguez <<a href="mailto:andres.rodriguez@canonical.com" class="">andres.rodriguez@canonical.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hi Jim,<div class=""><br class=""></div><div class="">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.</div><div class=""><br class=""></div><div class="">You can do this via the API, CLI or Web UI.</div><div class=""><br class=""></div><div class="">Let me know if you need more info.</div><div class=""><br class=""></div><div class="">Thanks.</div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Wed, Feb 1, 2017 at 12:44 PM, Jim Tilander <span dir="ltr" class=""><<a href="mailto:jim@tilander.org" target="_blank" class="">jim@tilander.org</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br class="">
<br class="">
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?<br class="">
<br class="">
Cheers,<br class="">
Jim<br class="">
<span class="HOEnZb"><font color="#888888" class="">--<br class="">
Maas-devel mailing list<br class="">
<a href="mailto:Maas-devel@lists.ubuntu.com" class="">Maas-devel@lists.ubuntu.com</a><br class="">
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/maas-devel" rel="noreferrer" target="_blank" class="">https://lists.ubuntu.com/<wbr class="">mailman/listinfo/maas-devel</a><br class="">
</font></span></blockquote></div><br class=""><br clear="all" class=""><div class=""><br class=""></div>-- <br class=""><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class="">Andres Rodriguez<div class="">Engineering Manager, MAAS</div><div class="">Canonical USA, Inc.</div></div></div></div></div></div></div>
</div>
</div></blockquote></div><br class=""></div></body></html>