Commit Graph

10143 Commits

Author SHA1 Message Date
Chris Roberts 570c8aee49 Update CHANGELOG 2017-08-21 13:22:24 -07:00
Chris Roberts 3f8cbb121a Merge pull request #8837 from chrisroberts/docker-compose/links
Split compose links if string values
2017-08-21 13:21:09 -07:00
Chris Roberts 75789b4604 Update CHANGELOG 2017-08-21 13:17:40 -07:00
Chris Roberts 18d3e5d286 Merge pull request #8831 from chrisroberts/hyperv/ipv6
Update guest IP address discovery for hyper-v guests.
2017-08-21 13:15:06 -07:00
Justin Campbell d014cdac65 website: Fix mailto link 2017-08-16 17:21:56 -04:00
Justin Campbell 1a93b61a35 Merge pull request #8894 from mitchellh/docs-org-migration
Vagrant Cloud documentation improvements
2017-08-16 17:08:55 -04:00
Justin Campbell 9db1c4b438 website: Add link to Vagrant Cloud docs source 2017-08-16 16:29:27 -04:00
Justin Campbell 6ddc418947 website: Add support link to index 2017-08-16 16:23:23 -04:00
Justin Campbell d920a4fe46 website: Update support email address 2017-08-16 16:20:35 -04:00
Justin Campbell 04586e1ec0 website: Add link to account migration page 2017-08-16 16:13:22 -04:00
Brian Cain 40d5c28f3f Update CHANGELOG 2017-08-15 14:57:15 -07:00
Brian Cain 567f26a7be Merge pull request #8889 from briancain/8864/master/improve-config-validate-cmd
Improve `vagrant validate` command
2017-08-15 14:56:15 -07:00
Brian Cain 4bd95cbfe2 (#8864) Improve `vagrant validate` command
Prior to this commit, the `vagrant validate` command would only validate
the first machine in a vagrant file. This commit improves that by
validating all known machines in the environment. If one is not found,
it will properly throw an exception instead of a stacktrace.
2017-08-15 13:53:45 -07:00
Brian Cain c25944d7a9 Update CHANGELOG 2017-08-15 10:07:44 -07:00
Brian Cain c0b54f74ea Merge pull request #8875 from briancain/8716/master/dup-string-if-frozen-for-line-endings
Dup string if frozen for line endings
2017-08-15 10:04:34 -07:00
Brian Cain 0d8f58e5da Merge pull request #8880 from briancain/8603/master/fix-scp-usage-in-file-prov
Ensure remote folder exists prior to scp in file provisioner
2017-08-15 10:04:14 -07:00
Brian Cain 2b8f7f67ea Add unit tests for shell_expand_guest_path function 2017-08-15 09:33:29 -07:00
Brian Cain 01528689fd (#8716) Dup string if frozen for line endings
Prior to this commit, if a user passed in a script that was frozen,
the shell provisioner would fail to modify the script to replace line
endings for windows because the string was immutable. This commit fixes
that by dup'ing the string so that it can have its line endings replaced
2017-08-15 08:38:30 -07:00
Brian Cain 61c501cc65 Ensure paths with spaces are preserved
Prior to this commit, if a user set the `destination` path to include a
space, the `shell_expand_guest_path` function would remove that space
and return a partial path. This commit updates that to quote the path to
be expanded to preserve the entire path.
2017-08-14 15:34:10 -07:00
Gilles Cornu f8e9cad680 Ansible: Improve a little bit the unit tests
Take advantage of the RSpec 3.5 update to rewrite some examples and
finally enable the expectation about "ansible-galaxy" verbose output.
2017-08-14 19:04:44 +02:00
Brian Cain a72b576091 Merge branch 'master' of github.com:mitchellh/vagrant 2017-08-14 09:04:55 -07:00
Brian Cain 2345637572 Update CHANGELOG 2017-08-14 08:50:47 -07:00
Justin Campbell cc517c5d46 Update CHANGELOG.md 2017-08-14 11:50:44 -04:00
Brian Cain 335aa35ff4 Merge pull request #8871 from briancain/8719/master/add-force-flag-for-update
Add force flag for box upgrade command
2017-08-14 08:49:46 -07:00
Justin Campbell 715b447892 Merge pull request #8876 from mitchellh/vagrantcloud-login-description
command/login: Add description to created token
2017-08-14 11:49:22 -04:00
Brian Cain eb28b33d8a Merge pull request #8883 from pomverte/patch-1
typo
2017-08-14 08:47:06 -07:00
hvle 8086f4b71a typo 2017-08-12 22:58:12 +02:00
Brian Cain b434cfe628 Merge pull request #8882 from bhamilton/patch-1
Fixes typo in GH issue number.
2017-08-11 15:58:38 -07:00
Brian Cain 40eaef08b7 (#8603) Ensure remote folder exists prior to scp in file provisioner
Prior to this commit, if a file provisioner block was ran twice with a
folder on a remote host, due to how scp works, it would first copy over
that folder, and then on the second action it would copy an identical
folder nested within the first one. While this is 'intended' behavior
with scp, it is unexpected behavior for the file provisioner. This
commit updates the file provisioner to first ensure that the directory
to be copied exists on the remote host prior to copying, and then the
destination dir has been changed to the directory that the destination
will be copied to, rather than the exact directly that includes the
folder from the host to prevent the nested folder behavior.
2017-08-11 11:49:39 -07:00
Branden Hamilton c6caec3145 Fixes typo in GH issue number. 2017-08-11 11:24:51 -04:00
Justin Campbell 03ebd8b714 command/login: Add hostname to default token desc
Uses `Socket.gethostname` to add the current hostname to the default
description.
2017-08-10 17:21:20 -04:00
Justin Campbell 92578aed4b command/login: Add description to created token
This adds a prompt for a token description, which is now supported in
Vagrant Cloud. Pressing enter on the prompt uses the default description
of `"Vagrant login"`.

    $ vagrant login
    In a moment we will ask for your username and password to HashiCorp's
    Vagrant Cloud. After authenticating, we will store an access token locally on
    disk. Your login details will be transmitted over a secure connection, and
    are never stored on disk locally.

    If you do not have an Vagrant Cloud account, sign up at
    https://www.vagrantcloud.com

    Vagrant Cloud Username: justincampbell
    Password (will be hidden):
    Token description (Defaults to "Vagrant login"):
    You are now logged in.
    $

Which created a token with the default description of "Vagrant login":

![](http://c.justincampbell.me/2V0p0T0U0d0O/Screen%20Shot%202017-08-10%20at%205.08.21%20PM.png)

Entering a description:

    Token description (Defaults to "Vagrant login"): Justin's MacBook Pro

![](http://c.justincampbell.me/2m1N0d1M3k3P/Screen%20Shot%202017-08-10%20at%205.09.39%20PM.png)
2017-08-10 17:12:38 -04:00
Brian Cain d26a7075f7 Merge pull request #8872 from mbrodala/patch-1
Fix typo in CHANGELOG
2017-08-10 09:40:57 -07:00
Mathias Brodala 2a7503935f Fix typo in CHANGELOG 2017-08-10 09:29:58 +02:00
Brian Cain 324a08bd75 (#8719) Add force flag for box upgrade command
Prior to this commit, if a state was reached where the action_box_add
command needed a force flag, it would fail requesting the user to
provide that flag to override adding a new box. However that flag did
not exist on the box update command, and could not be passed onto the
action_box_add action. This commit updates that to include a force flag,
and if used, pass that value onto the action_box_add action.
2017-08-09 16:21:13 -07:00
Brian Cain 2a444198f2 Update CHANGELOG 2017-08-09 10:44:58 -07:00
Brian Cain 5af6577709 Merge pull request #8859 from briancain/8842/master/update-sudoers-contrib
(#8842) Update contrib sudoers file for Ubuntu
2017-08-09 10:42:50 -07:00
Brian Cain c335b951f6 Merge pull request #8865 from briancain/8789/master/remove-curl-pipe-bash
Remove curl pipe bash install for salt provisioner
2017-08-09 10:42:46 -07:00
Chris Roberts c285e51bca Merge pull request #8847 from mitchellh/sethvargo/remove_people
Remove people from community section
2017-08-09 10:39:14 -07:00
Brian Cain 7a7506cd00 (#8789) Remove curl pipe bash install for salt provisioner
Prior to this commit, because of how the bootstrap salt shell file
worked, if github could not be resolved, the installer script would fail
silently with an exit code 0 because `sh` would evalute without any
errors and the curl exit code would be ignored. This commit splits out
the installer to first attempt to save the bash installer, and if it
exists, execute it.
2017-08-09 10:23:13 -07:00
Brian Cain 84ee0c0c6a Update CHANGELOG 2017-08-09 09:05:44 -07:00
Brian Cain 7cdff2556b Merge pull request #8850 from briancain/UPDATE-RSPEC
Update rspec to recent version and fix deprecations
2017-08-09 09:01:26 -07:00
Brian Cain efe2759f3d Renable vagrnat-spec 2017-08-08 09:44:38 -07:00
Brian Cain 15518a8cad (#8842) Update contrib sudoers file for Ubuntu
This commit updates the Ubuntu sudoers file in contrib to be up to date
with the documentation.
2017-08-07 13:15:40 -07:00
Gilles Cornu c2937f13b1 Update Ansible unit tests after RSpec 3.5 ugrade
- The 'ansible-galaxy' + 'ansible-playbook' sequence can now be verified
- The "final true" expectation trick can now be removed
- Fixed some little mistakes in 1a62743 rebase of original e8e248d
2017-08-07 10:27:07 -07:00
Brian Cain 8b1043c199 Remove stub methods and replace with allows for rpsec 3 2017-08-04 15:02:59 -07:00
Chris Roberts 1a62743bc5 Update rspec to recent version and fix deprecations 2017-08-03 17:54:07 -07:00
Brian Cain 1a7bfc81cd Update CHANGELOG 2017-08-03 09:20:03 -07:00
Brian Cain 623b117208 Merge pull request #8682 from Telekom-PD/omnibus-url
Add config option omnibus_url for chef provisioners
2017-08-03 09:19:13 -07:00
Artem Sidorenko 875c2edc62 Add config option omnibus_url for chef provisioners
This option is useful for internal setups, where own customized
omnibus installation script is used (e.g. to get chef from a mirror)
2017-08-03 10:06:27 +02:00