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

After triggered script wtih vagrant up #4

Closed auth00 closed 10 years ago

auth00 commented 10 years ago

Thank you for an awesome plugin.

When I use the following configuration my command is never run after the up command. If I use config.trigger.before the command is run before up but this is to early in my case. All the other commands are run with the after trigger so I am not sure what is wrong here.

{[:up, :resume, :reload, :provision] => "./mount.sh",}.each do |command, trigger| config.trigger.after command, :execute => "#{trigger}", :stdout => true end

emyl commented 10 years ago

Hi, thank you for reporting the issue.

Unfortunately I can't reproduce the problem. Would you like to post the vagrant up output with VAGRANT_LOG set to DEBUG?

emyl commented 10 years ago

Idle timeout. Please reopen if you can reproduce the problem :blush: