Commit Graph

10110 Commits

Author SHA1 Message Date
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
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
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 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
Seth Vargo b409ea90fe
Update deploy process 2017-08-02 14:13:58 -04:00
Seth Vargo 4323ba5c73
Remove people from community section
This is going to be replaced with dynamic content from our CMS in the
future, but we agreed to remove it in the interim.
2017-08-02 13:51:42 -04:00
Brian Cain a71a7ab41d Update CHANGELOG 2017-08-01 13:23:24 -07:00
Brian Cain a2d39742a7 Merge pull request #8775 from lucky-sideburn/master
Added exception if chef.node_path is defined on Vagrantfile but the directory does not exist locally
2017-08-01 13:22:23 -07:00
Eugenio Marzo 7e436c6971 fixed warnings about missing folders for Chef Solo and Zero 2017-08-01 21:37:11 +02:00
Chris Roberts 2677de4306 Merge pull request #8841 from chrisroberts/ve-vc
Update docs to properly name Vagrant Cloud
2017-07-31 16:35:14 -07:00
Chris Roberts 5817cef233 Update docs to properly name Vagrant Cloud 2017-07-31 16:33:18 -07:00
Chris Roberts a7b228eb69 Update CHANGELOG 2017-07-26 15:40:12 -07:00
Chris Roberts 4c0604e1af Merge pull request #8820 from chrisroberts/windows/exec-encoding
Update safe_exec argument encoding
2017-07-26 15:38:30 -07:00
Chris Roberts b9264b4f32 Merge pull request #8825 from chrisroberts/plugins/version-update-output
Include plugin update option to vagrant upgrade error.
2017-07-26 15:35:25 -07:00
Chris Roberts 28b434763e Merge pull request #8824 from chrisroberts/docs/environment-variables
Update documentation to include more environment variable information
2017-07-26 15:35:04 -07:00
Chris Roberts d06fbb845b Update documentation to include more environment variable information 2017-07-26 15:30:41 -07:00
Chris Roberts e5500d0e14 Update fake_ftp dependency constraint to maintain minor 2017-07-26 15:29:05 -07:00
Chris Roberts 3564b17925 Include plugin update option to vagrant upgrade error.
Fixes #8441
2017-07-26 15:04:44 -07:00
Chris Roberts 354c07f21e Update CHANGELOG 2017-07-26 15:04:29 -07:00
Chris Roberts ed0190cfdb Merge pull request #8819 from chrisroberts/fix/nfs-machine-ip-filter
Filter any machine_ip when preparing the NFS settings
2017-07-26 15:03:40 -07:00
Chris Roberts c0fa230c04 Merge pull request #8814 from seelts/patch-1
Update Vagrant vs Docker description
2017-07-26 14:16:32 -07:00
Chris Roberts da2c57d3d3 Make best effort to encode to UTF-8. On failure log error and retain original. 2017-07-24 17:04:25 -07:00
Ilia Liachin 142c086a2f Update docker.html.md
Docker now supports Windows
2017-07-24 23:07:41 +02:00
Chris Roberts 4bc8cc7563 Filter any machine_ip when preparing the NFS settings
When preparing the NFS settings on VirtualBox the guest IP addresses
are pulled from VirtualBox directly and any static addresses are
pulled as well. This can lead to aquiring a host IP and machine IP
but results in a failure of NFS mount because the IPs are not on
the same network. This filters the machine IP result to validate
it is within the host adapter IP range.
2017-07-24 14:02:15 -07:00
Eugenio Marzo c9b65bd129 produce error when node_path is defined but the directory does not exist on disk locally 2017-07-22 11:05:34 +02:00
Eugenio Marzo 94a94648dd change requested after a PR review 2017-07-22 07:58:38 +02:00
Brian Cain d14b230b6c Update CHANGELOG 2017-07-21 15:50:11 -07:00
Brian Cain 62fd6de914 Merge pull request #8806 from kikitux/autocomp
add box prune to contrib bash completion
2017-07-21 15:48:24 -07:00
Brian Cain 00f6f51865 Update CHANGELOG 2017-07-21 14:30:43 -07:00
Brian Cain 5ee3b0c3b9 Merge pull request #8760 from marblenix/fix/Unable_to_list_network_interfaces_on_FreeBSD
Fix vagrant not being able to list network devices on some FreeBSD boxes.
2017-07-21 14:27:05 -07:00
Alvaro Miranda Aguilera 4c3b202c09 add prune to contrib bash completion
add prune command to completion.sh
2017-07-20 23:08:58 +02:00
Brian Cain 1fe2c81752 Merge pull request #8805 from kikitux/8801
add note about groups for sudoers
2017-07-20 13:43:23 -07:00
Alvaro Miranda Aguilera cc381a0f6b update per review 2017-07-20 22:37:48 +02:00
Alvaro Miranda Aguilera 591670d8a5 add note about groups for sudoers 2017-07-20 20:33:47 +02:00
Brian Cain afdc3fa89f Merge pull request #8804 from TrueGit/patch-1
Fix minor typo in website documentation
2017-07-20 10:09:27 -07:00