I find out that vagrant-triggers ingore after condition, only execute before condition,
and I resolve this by change the code in lib/config.rb
change this line =>
@triggers << { :action => action, :condition => :before, :options => options }
with this line =>
@triggers << { :action => action, :condition => condition, :options => options }
vagrant version : 1.3.5 os : centos 6.4 x86_64
I find out that vagrant-triggers ingore
after
condition, only execute before condition,and I resolve this by change the code in lib/config.rb change this line => @triggers << { :action => action, :condition => :before, :options => options } with this line => @triggers << { :action => action, :condition => condition, :options => options }
and it's work!!!