Hello, have you seen this:
https://groups.google.com/forum/#!searchin/vagrant-up/if$20version/vagrant-up/-HSV-jxTmfs/iVEXsTOt8BsJ ? I think you can take it as base . basically you can use ruby code with Vagrant::VERSION Alvaro. On Wed, Jan 21, 2015 at 12:44 PM, Andrea Law <[email protected]> wrote: > Hey all, > > Is there a way to do configuration based off of minor versions? e.g. a > single Vagrantfile would be able to handle both 1.6 and 1.7+. > We can get the version by shelling out, but that would require some > messing semantic parsing. > > Thanks! > > -- > You received this message because you are subscribed to the Google Groups > "Vagrant" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Vagrant" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
