hello

there is a plugin called vagrant triggers

https://github.com/emyl/vagrant-triggers

have you seen it?

On Fri, Jul 28, 2017 at 4:04 PM, Iain Hallam <[email protected]> wrote:

> I've just posted a question over at Serverfault: https://
> serverfault.com/questions/865699/detect-machine-state-
> in-a-vagrantfile-for-triggers
>
> I'm aiming to use some Ruby in a Vagrantfile to see what state the machine
> is in to decide which steps are needed in a trigger.before :destroy
> action.
>
> Not being a Ruby programmer, I'm having some difficulty working out what
> code I'll need to use to access the state of the machine (or machines) in
> the Vagrantfile; can anyone help, please?
>
> Thanks,
>
> Iain.
>
> --
> This mailing list is governed under the HashiCorp Community Guidelines -
> https://www.hashicorp.com/community-guidelines.html. Behavior in
> violation of those guidelines may result in your removal from this mailing
> list.
>
> GitHub Issues: https://github.com/mitchellh/vagrant/issues
> IRC: #vagrant on Freenode
> ---
> 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].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/vagrant-up/4bb2b973-966a-481d-a2c1-4ec10f43229a%40googlegroups.com
> <https://groups.google.com/d/msgid/vagrant-up/4bb2b973-966a-481d-a2c1-4ec10f43229a%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Alvaro

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
--- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/CAHqq0ezYqccf_8f4rpv%3DrBc_XYB3oVu8biQh%3D3nTfagsG3KuFg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to