I would rather have them in the Vagrant File so I do not have to duplicate code across shell files.
On Wednesday, August 13, 2014 3:22:29 PM UTC-4, Harish Patel wrote: > > Is there any way that I could run 'vagrant destroy' if one of my shell > provisioners fails? Out of the box, it seems like --destroy-on-error is > supposed to do this but it doesn't. I have 3 shell files that my > Vagrantfile calls, and if any one of them fail, the downstream ones are not > run but the VM is still up. > -- You received this message because you are subscribed to the Google Groups "Vagrant" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
