Chef provisioning

Is there a way to run a recipe before destroying a vm? I would like to delete the vm from my monitoring dashboard during or just before destroying it?

Try running a machine block with a converge action and the recipe you want as the run list and notifying a block that calls a destroy action.

–Jp

dreamnite,
Thnks for the suggestion. Can you provide me an example?

dreamnite,
I tried your suggestion, however the converge action seems to reload the vm.