diff options
author | Sam Pearson <sam@sgp.me.uk> | 2020-02-18 11:11:05 +0000 |
---|---|---|
committer | Sam Pearson <sam@sgp.me.uk> | 2020-03-03 09:20:46 +0000 |
commit | 2c9bed2d5410b68c0ebd66808a2539564a2ddce0 (patch) | |
tree | 0ce2a21ec3fedb4e558b58beb853c4680df4eb6c | |
parent | 2baa60e1d41c88a69246732fbbef36167d367ea5 (diff) |
[Vagrant] Add local testing box to provisioning conditional
For local testing, we'll now treat a box named `fms-local` as if it
was the Vagrant Cloud box.
-rw-r--r-- | Vagrantfile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Vagrantfile b/Vagrantfile index 6ac85c163..17eebe4b5 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -105,7 +105,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| # When using the mySociety box, just mount the local perl modules and run `script/update` # For any other box, just run the full setup process. - if "#{baseBox}" == "mysociety/fixmystreet" + if "#{baseBox}" == "mysociety/fixmystreet" || "#{baseBox}" == "fms-local" config.vm.provision "shell", run: "always", inline: $mount_modules config.vm.provision "shell", run: "always", inline: $update else |