Commit Graph

12077 Commits

Author SHA1 Message Date
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
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
Alex Goncharov b75768fc56 Fix box version sort in Update.update_specific 2019-04-24 18:57:34 -04:00
Brian Cain 757175b94e
Add note about removing patch fix and add test 2019-04-22 10:36:25 -07:00
Brian Cain e2097be55e
Fixes #10800, Fixes #9148: Ensure rubygems is loading gemrc properly on Windows
Prior to this commit, when Vagrant attempted to use the Gem library, it
would attempt to pass in a gemrc through an environment variable that
the rubygems library would try to split and parse. This is normally
fine, as the method in question would return empty if that file did not
exist. However if the user had a file that matches the drive that
Vagrant was installed on, rubygems would fail saying the folder was not
a file (or a gemrc, in this case).

This commit works around that by instead configuring the gemrc location
through ruby with `Gem.configuration`.

Related rubygems issue
[#2733](https://github.com/rubygems/rubygems/issues/2733)
2019-04-19 17:07:49 -07:00
Brian Cain ad342e2bf0
Merge pull request #10792 from briancain/make-env-var-docs-clearer
Reword documentation for VAGRANT_DISABLE_VBOXSYMLINKCREATE option
2019-04-15 09:11:51 -07:00
Brian Cain e0cd29e301
Fixup docs for environment variable 2019-04-12 15:48:31 -07:00
Brian Cain cb69836fb7
Reword documentation for VAGRANT_DISABLE_VBOXSYMLINKCREATE option
Follow-up from #10790
2019-04-12 15:40:10 -07:00
Brian Cain cd3909d7ce
Update CHANGELOG 2019-04-09 15:13:17 -07:00
Brian Cain 139ae4397f
Merge pull request #10625 from vdebroy/fix-issue-9584
Fix issue 9584
2019-04-09 15:12:02 -07:00
Brian Cain 114775475c
Update CHANGELOG 2019-04-09 15:11:36 -07:00
Brian Cain 8e9578cf5d
Merge pull request #10752 from chrisroberts/f-coreos-guest-caps
Update guest capabilities for coreos
2019-04-09 15:10:58 -07:00
Brian Cain 3a81a92db7
Update CHANGELOG 2019-04-09 15:05:11 -07:00
Brian Cain 8109433885
Merge pull request #10784 from briancain/fixup-snapshot-list-virtualbox
Ensure non-existent machines do not attempt to list snapshots
2019-04-09 15:03:50 -07:00