Commit Graph

11914 Commits

Author SHA1 Message Date
Brian Cain 767346ce81
Adjust command wording to match up 2019-02-07 13:35:47 -08:00
Brian Cain aff66822ef
Reorder type triggers 2019-02-07 13:34:12 -08:00
Brian Cain 6d91dfd025
Update trigger docs with more info on types 2019-02-06 16:29:40 -08:00
Brian Cain c6b42a04cd
Update CHANGELOG 2019-02-05 15:16:50 -08:00
Brian Cain ac6dc0670d
Merge pull request #10645 from briancain/expand-paths-on-compare-docker
Expand paths on synced folder compare with docker provider
2019-02-05 15:15:42 -08:00
Brian Cain 33c3c4a3bf
Merge pull request #10648 from briancain/update-ruby-versions
Update Ruby version to 2.6.1 for Travis CI
2019-02-05 09:25:55 -08:00
Chris Roberts e165a5bc6e Update test checking ld path modifications 2019-02-05 07:16:40 -08:00
Brian Cain 1fad0bb4c7
Update Ruby version to 2.6.1 for Travis CI 2019-02-04 13:43:03 -08:00
Chris Roberts a4eb002750 Use ld path of system libs with appimage libs suffixed 2019-02-04 12:52:55 -08:00
Brian Cain 4c61eaa933
Fixes #10643: Ensure paths are properly expanded when comparing synced folders
Prior to this commit, the docker action would attempt to compare and
validate synced folders based on their string value, rather than their
actual path value. This commit updates that by path expanding the mounts
when comparing a containers synced folders.
2019-02-04 11:15:40 -08:00
Brian Cain 91e351b937
Add unit test for dockers compare_synced_folders 2019-02-04 11:12:55 -08:00
Chris Roberts 80705c4804
Merge pull request #10637 from chrisroberts/f-address-config
Add base_address to core vagrant vm config
2019-02-01 16:15:50 -08:00
Chris Roberts ade5370db3 Add reboot output to guest capability 2019-02-01 15:47:02 -08:00
Chris Roberts dfe9762210 Update CHANGELOG 2019-02-01 14:48:49 -08:00
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
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
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
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