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

:stderr, :stdout defaults to false when using config.vm.provision "trigger" #42

Closed tbal closed 9 years ago

tbal commented 9 years ago

Hi,

first of all, thanks for the great plugin!

The documentation states:

I'm using the following setup:

  config.vm.provision "trigger" do |trigger|
    trigger.fire do
      run "uname -a"
    end 
  end 

I got no output at all unless explicitly setting the options stdout and/or stderr to true:

  config.vm.provision "trigger", :stdout => true, :stderr => true do |trigger|

Vagrant 1.7.2 vagrant-triggers 0.5.0

Does the documentation need an update or is this a bug?

emyl commented 9 years ago

Hi!

That's a :bug:

Going to fix it in the next release. Thanks!