is all or nothing, so you need to make sure your scripts are idempotent.

http://en.wikipedia.org/wiki/Idempotence

Example, I have Vagrant files that update OS, and format en mount hard
drives

re-running the update is not harmful, so nothing to do

but, I check if the disk is used before creatn partitions and mounting.

you shoudl install software that is not installed, in that way, if you
provision 2 times nothing wrong will happen.

Require a bit extra time on the scripts, but now I have an Oracle Rac
cluster, that if I provision twice, nothing gets broken on the 2nd run.

Hope this helps.
Alvaro


On Sat, Feb 8, 2014 at 9:59 AM, Noel Broda <[email protected]> wrote:

> Hi guys!
> I have a bootstrap file very large.
> In the file I execute a lot of apt-get and sometimes the servers are down,
> so, the vagrant up close the execution.
>
> For example, a few minutes ago, the last line executed was:
> pear channel-discover components.ez.no
>
> and then, the executed finish.
> I re-executed the vagrant up and everything is ok (so, I was thinking that
> the components.ez.no was down for a minute).
>
> How can I resume the execution? Or, whats do you do when you have this
> problem?
>
> Tnks!
>
> --
> 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/groups/opt_out.
>

-- 
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/groups/opt_out.

Reply via email to