13459 Commits

Author SHA1 Message Date
Chris Roberts
d3ea9f1f8c
Merge pull request #10629 from chrisroberts/f-vbox6-import-windows
Fix import paths on Windows for the vbox 6 driver
2019-02-01 14:47:46 -08:00
Chris Roberts
61cf179b42 Add base address attribute to vm config 2019-02-01 14:47:11 -08:00
Brian Cain
64e21a1215
Add test for Action classes with no name 2019-02-01 13:34:15 -08:00
Brian Cain
08214ec90f
Ensure action param is a symbol, and if nil return to do nothing 2019-02-01 13:34:15 -08:00
Brian Cain
6ac23f1a15
Add fire trigger test for cli class 2019-02-01 13:34:15 -08:00
Brian Cain
fc4e6e624f
Simplify if-statement in trigger parser 2019-02-01 13:34:15 -08:00
Brian Cain
659aa1c48e
Remove todo in validation 2019-02-01 13:34:15 -08:00
Brian Cain
865c553b8f
Update wording on flag example 2019-02-01 13:34:15 -08:00
Brian Cain
c4a03e594f
Update trigger config docs 2019-02-01 13:34:15 -08:00
Brian Cain
071d8b09cd
Add machine for hook and action triggers 2019-02-01 13:34:15 -08:00
Brian Cain
37d71898a3
More docs updates for new triggers 2019-02-01 13:34:15 -08:00
Brian Cain
efd549e933
Fix typo 2019-02-01 13:34:15 -08:00
Brian Cain
f0058993c6
Add docs for experimental flag 2019-02-01 13:34:15 -08:00
Brian Cain
6e8e3b32eb
Update with some docs 2019-02-01 13:34:15 -08:00
Brian Cain
01c5ca8a43
Fixup wording on run_remote message 2019-02-01 13:34:15 -08:00
Brian Cain
16b5ad74ca
Handle command triggers with run_remote options
This commit adds some handling around when a machine does not exist at
all but a trigger was defined with a run_remote option
2019-02-01 13:34:15 -08:00
Brian Cain
09846b30fe
Fixup action tests
This commit fixes up the action tests by adding a `name` field for all
the Action classes used within the various tests.
2019-02-01 13:34:15 -08:00
Brian Cain
5e4850a0d2
Use name instead of class 2019-02-01 13:34:15 -08:00
Brian Cain
ec9bda78c3
Remove comment 2019-02-01 13:34:15 -08:00
Brian Cain
ae0960f2da
Add comment to wardens finalize_action method 2019-02-01 13:34:15 -08:00
Brian Cain
ebacb96626
Update docs for action trigger actions 2019-02-01 13:34:15 -08:00
Brian Cain
fefb702359
Introduce type and command triggers
This commit introduces some basic functionality for typed triggers:

- command
- action

Command triggers are triggers that will run before or after a given
sub-command.

Action triggers are for running triggers before or after internal
actions for Vagrant. This could be before or after a provision step,
before or after synced folders, or networking, etc.
2019-02-01 13:34:15 -08:00
Chris Roberts
d7e036981f Add coverage for windows path behavior in vbox6 driver 2019-01-29 11:09:30 -08:00
Chris Roberts
cf99438f1f Update base path on windows to use common file separator
On Windows the File::SEPARATOR ends up being `/` which causes
issues with the new way the path is being extracted from the
vbox information. When on Windows (even with WSL), automatically
convert the path to use common forward slash separator. This
fixes path modifications used for storing guest disks.
2019-01-29 11:09:25 -08:00
Vidroha Debroy
9b618eb0cf Updated documentation. Fixes hashicorp/vagrant#9584. 2019-01-28 13:59:00 -06:00
Vidroha Debroy
281203edf1 Handling the cases for UNSET_VALUE, i.e., config is not finalized. 2019-01-28 13:35:50 -06:00
Matt Adams
a3836f5fec Change remaining box_client_cert refs
This fixes issues with box add/update when self hosting with client
certs. The --cert option was not being added to the curl subprocess
in these cases.
2019-01-28 08:45:24 -06:00
Vidroha Debroy
d2c11e81ae Config has pip_install_cmd for Provisioner to pick it up. Tests updated. 2019-01-25 16:51:58 -06:00
Vidroha Debroy
8418d26037 Ubuntu code updated because it calls Debian code. 2019-01-25 15:22:04 -06:00
Vidroha Debroy
614523a5fc Exposing pip_install_cmd to callers as optional. 2019-01-25 15:09:31 -06:00
Vidroha Debroy
84df098135 Handling empty strings passed as pip_install_command. 2019-01-25 14:55:39 -06:00
Vidroha Debroy
2b0617fb64 Adding pip_install_cmd as a default parameter to get_pip. Unit Tests. 2019-01-25 13:59:15 -06:00
Chris Roberts
87214ed840
Merge pull request #10614 from hashicorp/f-updateReseller
Update reseller.html.md
2019-01-24 12:54:32 -08:00
Alvaro Miranda Aguilera
0459cefe6e
Update reseller.html.md
selfservice first, PO only for 150 or more
2019-01-24 22:40:50 +02:00
Brian Cain
da81948212
Merge pull request #10607 from bdickensheets/patch-1
Update to virtualbox documentation link
2019-01-22 08:57:09 -08:00
bdickensheets
8ccabd90f7
Update to virtualbox documentation link 2019-01-20 19:53:22 +02:00
Chris Roberts
d749ffc371 Update utility release version 1.0.7 2019-01-18 14:50:40 -08:00
Daniel Poggenpohl
2d9ba0e906 - FIX for #10594 (more logical flow) 2019-01-17 14:59:52 +01:00
Daniel Poggenpohl
d565f628fd - FIX for #10594 2019-01-17 14:21:53 +01:00
Ilya Chesnokov
a300acfcf0 Make sure that ips array contains unique values
Fixes #10591
2019-01-14 14:10:51 +03:00
Brian Cain
7927c39da9
Update CHANGELOG 2019-01-11 16:22:59 -08:00
Brian Cain
b2ae361329
Merge pull request #10586 from briancain/debian-systemd-networkd-dhcp-static-ips
Fixes #10585: Properly set DHCP for systemd-networkd ips
2019-01-11 16:22:09 -08:00
Brian Cain
65a7261853
Fixes #10585: Properly set DHCP for systemd-networkd ips
Prior to this commit, if a debian system requested an DHCP address using
systemd-network, Vagrant would ignore it and instead use the configured
IP from the virtualbox network action. This commit fixes that by instead
looking if DHCP was requested, and if so, use that option for an IP.
2019-01-11 10:19:37 -08:00
Chris Roberts
cdd3e7578b Update version for dev 2019-01-09 13:32:09 -08:00
Chris Roberts
15adcf06cd Update download version to 2.2.3 2019-01-09 13:30:54 -08:00
Chris Roberts
37dc3dc648 Release v2.2.3 v2.2.3 2019-01-09 13:25:17 -08:00
Brian Cain
9836806f76
Update CHANGELOG 2019-01-09 11:17:46 -08:00
Brian Cain
5d4c9ef8a7
Merge pull request #10513 from briancain/catch-invalid-version-errors-vagrant_cloud
Fixes #10509:  Catch InvalidVersion errors from vagrant_cloud client
2019-01-09 11:16:58 -08:00
Chris Roberts
c7a4b05ae7
Merge pull request #10579 from chrisroberts/e-ruby-version
Update ruby version support to include 2.6
2019-01-09 10:46:57 -08:00
Chris Roberts
a29273aa17 Update CHANGELOG 2019-01-09 10:46:26 -08:00