Re: [vagrant-up] How to conditionally setting config variables based on the Vagrant operation?

2015-02-20 Thread Torben Knerr
Hey Brian, You could probably parse ARGV for that, but that's really ugly and I wouldn't recommend it. Maybe the vagrant-triggers plugin is better suited for your use case? HTH, Torben Am 19.02.2015 23:07 schrieb "Brian D" : > Hi all, > > I'd like to conditionally set a variable based on the Va

[vagrant-up] How to conditionally setting config variables based on the Vagrant operation?

2015-02-19 Thread Brian D
Hi all, I'd like to conditionally set a variable based on the Vagrant operation, for example, I don't want something to be set during a Vagrant destroy operation, but during a Vagrant up or Vagrant reload --provision, I would like them to be set. Is there a way to reference what the current o