Commit Graph

12240 Commits

Author SHA1 Message Date
Chris Roberts 50c4464d44 Support loading plugin information from nested Vagrantfiles
Since plugin installation happens when the environment is first
initialized, attempt to determine the provider in use and load
any box provided Vagrantfiles to include any plugin configuration
they may include.
2019-06-04 10:07:02 -07:00
Anders Kaseorg 7980178d19 providers/docker: Add usability test
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2019-05-30 13:13:43 -07:00
Greg J Preece f25427869c Updating unit tests w/ UI message suppression 2019-05-30 09:17:30 -07:00
Greg J Preece f626c53af2 Suppressing UI output in machine-readable mode 2019-05-30 08:39:49 -07:00
Greg J Preece 2088bfb60d Adding note to README re: bsdtar dependency 2019-05-29 20:31:18 -07:00
Greg J Preece 731f249c50 Machine ID output should be 7 characters. 2019-05-29 11:10:33 -07:00
Greg J Preece c6a6fd34a3 Adding machine-readable output to global-status 2019-05-29 10:48:38 -07:00
Greg J Preece a6f0d24f68 Documenting local Vagrant vs package Vagrant. 2019-05-28 18:12:23 -07:00
Brian Cain b3877f4b2c
Merge pull request #10855 from briancain/remove-aws-mention-for-guide
Replace AWS provider in getting started guide with Hyper-V
2019-05-24 09:16:22 -07:00
Brian Cain 3357d7060e
Merge pull request #10858 from briancain/chef-common-docs-navbar
Fixes #10856: Add common chef config options to nav bar
2019-05-24 09:15:53 -07:00
Brian Cain f8eca3f7cf
Update CHANGELOG 2019-05-24 09:14:24 -07:00
Brian Cain f8eaa41b7e
Merge pull request #10854 from briancain/fixup-typed-trigger-actions
Ensure guest names are string when filtering trigger configs
2019-05-24 09:13:43 -07:00
Brian Cain 5ff47b5d69
Update CHANGELOG 2019-05-21 08:29:34 -07:00
Brian Cain 73e3465b47
Merge pull request #10841 from wzur-r3/patch-1
Search for running_vm_list only in `machines` folder
2019-05-21 08:28:36 -07:00
Brian Cain be7876d836
Merge pull request #10860 from issyl0/add_sidebar_link_to_upload_page
Link to the "upload" docs page from the docs sidebar
2019-05-14 13:51:28 -07:00
Isabell (Issy) Long a0e1062819
Link to the "upload" docs page from the docs sidebar
- Fixes #10837.
2019-05-14 20:11:18 +01:00
Brian Cain a8783d6703
Fixes #10856: Add common chef config options to nav bar
This commit updates the provisioner nav bar on the docs website to
include the common chef configuration documentation. This makes these
options more discoverable, as before it was hidden in a URL link inside
of the other chef docs.
2019-05-14 09:58:14 -07:00
Brian Cain b1f14087e5
Replace AWS provider in getting started guide with Hyper-V
The vagrant-aws provider doesn't really make sense anymore to be
mentioned in the getting started guide for providers. Instead, replace
it with the Hyper-V provider.
2019-05-13 14:25:00 -07:00
Brian Cain eb3e309f89
Ensure guest names are string when filtering
Prior to this commit, if a guest name was given as a symbol, the
filter_triggers method would fail to properly match it with the only_on
option, as it is not a valid type to the #String.match method. This
commit fixes that by converting the parameter to a string so that it can
be properly matched on the guest.
2019-05-13 14:07:22 -07:00
Brian Cain 57c4de49f2
Remove "command" string from logger
Since not all triggers are commands, removing the word `command` from
the logger so it is not confused with other types of triggers.
2019-05-13 13:26:47 -07:00
Brian Cain e91a1aadc4
Merge pull request #10849 from pjl/fix-snapshot-delete-documentation
Add vm-name option to snapshot documentation
2019-05-13 09:53:32 -07:00
Brian Cain 28bbd10689
Merge pull request #10812 from mrgnw/patch-1
Prevent nopasswd issues, add vagrant entries at end of sudoers
2019-05-13 09:15:29 -07:00
Perry Lee 017c793f90 Add vm-name option to snapshot documentation 2019-05-10 16:49:20 -07:00
Morgan Williams d1373c9e97 Single paragraph: order matters in sudoers
Single paragraph about how the suoders file format applies these rules in order of entry
2019-05-09 21:49:58 -04:00
Morgan Williams a09ad31db4 Revert " Recommend adding lines to end of sudoers, ensuring %admin and root exist "
This reverts commit 36420ce82b.
2019-05-09 21:46:01 -04:00
Waldemar Żurowski a2a848285c
Search for running_vm_list only in `machines` folder
otherwise it might catch a non-machine id, in my case, for hostmanager plugin
2019-05-09 18:07:23 +01:00
Brian Cain 917aab0552
Update CHANGELOG 2019-05-08 09:33:51 -07:00
Brian Cain 93497b8ca3
Merge pull request #10829 from briancain/box-update-continue
Continue updating environment boxes if metadata not found
2019-05-08 09:32:58 -07:00
Brian Cain f7de9c3bcb
Update CHANGELOG 2019-05-08 09:18:06 -07:00
Brian Cain 237209d6e4
Merge pull request #10828 from briancain/snapshot-list-ux-fixup
Separate snapshot names when listing snapshots
2019-05-08 09:17:06 -07:00
Brian Cain fbbdf45dae
Update CHANGELOG 2019-05-08 09:16:39 -07:00
Brian Cain 86800421db
Merge pull request #10824 from briancain/exit-process-on-abort-triggers
Fixes #10823: Use Process.exit! for abort trigger option
2019-05-08 09:15:51 -07:00
Brian Cain 18f2eee392
Update CHANGELOG 2019-05-08 09:15:18 -07:00
Brian Cain a613044baf
Merge pull request #10820 from briancain/docker-compose-volumes
Fixes #10798: Enhance how docker compose driver path expands
2019-05-08 09:14:33 -07:00
Brian Cain a7f72d29ca
Merge pull request #10814 from briancain/install-link-for-share-docs
Fixes #10813: Add install link docs to Share tutorial
2019-05-08 09:13:53 -07:00
Brian Cain beb9572a9c
Update CHANGELOG 2019-05-08 09:13:33 -07:00
Brian Cain 9a0fa8c061
Merge pull request #10803 from briancain/ensure-gemrc-set
Set gemrc through configuration method rather than relying on environment variable
2019-05-08 09:12:11 -07:00
Brian Cain e2d017b219
Continue updating environment boxes if metadata not found
Prior to this commit, if a user ran a `vagrant box update` on their
entire environment and one of the boxes did not have a metadata file,
the rest of the boxes in the update would be skipped. This commit fixes
that by ignoring those boxes and showng a warning, so that the rest of
the boxes could check for updates.
2019-05-08 09:04:45 -07:00
Brian Cain ca232444e7
Separate snapshot names when listing snapshots
Prior to this commit, Vagrant would list all machine snapshots in a flat
list, without showing which snapshots were associated with which guests.
This commit fixes that by placing some separation to make it clear which
snapshots belong to which guests.
2019-05-06 11:09:34 -07:00
Brian Cain 35ee3e2342
Fixes #10823: Use Process.exit! for abort trigger option
Prior to this commit, the `abort` option for triggers would just call
`exit`, which would end up raising a SystemExit exception, signaling
Vagrant to abort. This broke down however in a multithreaded context
like when running multiple guests at once on supported providers,
resulting in Vagrant failing to exit cleanly and instead raise an
exception. This commit changes that by instead using `Process.exit!` to
abort Vagrant.
2019-05-03 14:48:54 -07:00
Brian Cain ca0fd64ded
Fixes #10798: Enhance how docker compose driver path expands
Prior to this commit, the docker compose driver would _always_ path
expand a host volume no matter what. This is not always the correct
option, for example if that host volume is actually a reference to a key
inside a `volumes` hash instead of a path on disk. This commit changes
that by looking to see if the requested host volume is actually a
defined key inside the compose config, and if not, it will path expand
it like before. Otherwise it will leave the key "as is".
2019-04-29 16:14:37 -07:00
Brian Cain b693da4a2f
Fixes #10813: Add install link docs to Share tutorial
This commit adds a note and link on how to install vagrant-share before
the vagrant share tutorial starts. This ensures that users know they
need the plugin installed since it no longer comes with Vagrant core.
2019-04-26 08:21:26 -07:00
Morgan 36420ce82b
Recommend adding lines to end of sudoers, ensuring %admin and root exist
Adding entries to the end of sudoers is an easy way to prevent issues and ensure NOPASSWD functionality works as expected.
2019-04-25 16:56:56 -04:00
Chris Roberts e7e8a39c55 Stub the ssh path used for exec
Since a full path to the ssh executable is being used and is expected
at a specific location, default to providing that location when looking
up the executable. This prevents errors from occurring when a host
system provides an `ssh` match at a different path.
2019-04-25 10:44:25 -07:00
Chris Roberts 5b94bbb49b Scrub folder configuration data when persisting to disk
Before writing synced folder configuration data to the local
data directory run content through the credential scrubber to
remove any sensitive content before write.
2019-04-25 10:31:48 -07:00
Chris Roberts 92e6a29bfc Update naming in tests as instance methods are being referenced 2019-04-25 10:09:50 -07:00
Chris Roberts b493503e09 Scrub SMB credential information from folder configuration
This prevents credential information from being persisted into the
local data directory which is used during subsequent runs to determine
folder definition changes.
2019-04-25 10:07:48 -07:00
Brian Cain c22a145c59
Update CHANGELOG 2019-04-25 08:44:49 -07:00
Brian Cain 15c7fc23ce
Merge pull request #10810 from alex-goncharov-usa/fix-box-update-version-sort
Fix box version sort in Update.update_specific
2019-04-25 08:41:41 -07:00
Alex Goncharov 9266899b34 Add a test for version selection for a box update 2019-04-24 19:59:37 -04:00