saltstack/salt — pull request #10222 by gtmanfred (2014-02-06 00:17:45+00:00)
Title: [salt.cloud] clear salt mine on delete

Set the profile the server was built with in the metadata. When the
server is deleted, if the flush_mine_on_destroy is set on that profile,
flush the mine of data.

Please take a looke @techhat . I think I was using vm_['profile'] instead of 'profiles' and that is why it wasn't working before.

Thanks,
Daniel Wallace