emyl / vagrant-triggers

Allow the definition of arbitrary scripts that will run on the host before and/or after Vagrant commands.
MIT License
546 stars 35 forks source link

Trigger only for a specific machine in a multi-machine Vagrantfile? #11

Closed rossmeissl closed 10 years ago

rossmeissl commented 10 years ago

Is there an idiomatic way to check which machine we're, say, turning up inside the trigger block? I'd like to run a before trigger only on my staging machine.

emyl commented 10 years ago

Hi!

It will be possible in the next version (0.4). I hope to release it during the next week.

rossmeissl commented 10 years ago

@emyl fabulous, thanks! :sparkles: