Chef provisioning


#1

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?


#2

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


#3

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


#4

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