Commit Graph

9292 Commits

Author SHA1 Message Date
Chris Roberts 6d48f98d55 Update CHANGELOG 2016-09-30 14:46:19 -07:00
Chris Roberts c3eb1e355b Merge pull request #7802 from chrisroberts/safe_exec/windows
[windows] Use subprocess for safe_exec on windows
2016-09-30 14:42:40 -07:00
Chris Roberts 977733790a Include debug notification when using subprocess 2016-09-30 12:16:53 -07:00
Chris Roberts 0300df09fb guests/linux: Update constant name, freeze constant values 2016-09-30 12:11:54 -07:00
Chris Roberts 8a73035fdc Update CHANGELOG 2016-09-30 09:11:49 -07:00
Chris Roberts 6e6b35f1c5 Merge pull request #7712 from mwrock/executor
fix #7489 preventing winrm connection leakage
2016-09-30 09:10:42 -07:00
Chris Roberts 9f468d2626 guests/linux: Place ethernet devices at start of device list 2016-09-29 15:33:29 -07:00
Chris Roberts b7114ced87 Update CHANGELOG 2016-09-28 08:24:56 -07:00
Chris Roberts a8cddf399d Merge pull request #7778 from justjake/subprocess-closable-stdin
Allow closing a Vagrant::Util::Subprocess's STDIN
2016-09-28 08:22:28 -07:00
Chris Roberts 79771ff58a Merge pull request #7758 from rquadling/patch-1
Add note about using a separate file for sudoers
2016-09-28 06:07:57 -07:00
Chris Roberts 118d3bb21e Merge pull request #7819 from tas50/patch-1
Update required Ruby in the readme
2016-09-28 05:50:56 -07:00
Chris Roberts d92754b7e4 Update website version and bump for dev 2016-09-27 17:02:31 -07:00
Chris Roberts 70d3c1fa2c Release v1.8.6 2016-09-27 14:26:27 -07:00
Matt Wrock c5e1a6d8c0 use the cmd shell to check winrm availability 2016-09-26 14:07:11 -07:00
Seth Vargo b72145b27f Merge pull request #7830 from mitchellh/sethvargo/update_hashicorp
Update middleman-hashicorp
2016-09-26 11:34:46 -05:00
Seth Vargo 5e989bcb46
Update middleman-hashicorp 2016-09-26 11:31:35 -05:00
Tim Smith bf36e6bf5c Update required Ruby in the readme
It's 2.2 not 2.0
2016-09-23 10:00:18 -07:00
Rutger Swarts 2ecbc241c3 Add Virtuozzo Linux 7 to list of RHEL flavors 2016-09-23 10:45:16 +02:00
Gilles Cornu 7ceac147da
Update CHANGELOG.md 2016-09-21 23:40:23 +02:00
Gilles Cornu e8cf9bb168
provisioners/ansible: review pull request #7752
- Honour `ssh.proxy_command` setting (even when the Docker provider is
  used via a proxy host). Silly configurations may lead to silly
  behaviors, but let's apply the settings...
- Remove condition on `provider_config.connect_via_ssh`, which is
  a provider specific parameter (from vagrant-libvirt provider).
- Add a simple unit test
2016-09-21 23:40:20 +02:00
Dmitry Vasilets a1d78edaf8
changes after review 2016-09-21 23:40:15 +02:00
Dmitry Vasilets a943f67da1
support ansible for remote servers and vm 2016-09-21 23:39:43 +02:00
Rudinei Goi Roecker 8b8c961935 Fix non upstart linux nfs mounts 2016-09-20 17:57:54 -03:00
Alejandro Ojeda 0be221fbea Add test for provider priority fix
This commit adds tests for possible future regressions for the bug fixed
in the commit: "Fix Vagrant not prioritizing configured providers
correctly".

Two very similar tests were added because whether the bug manifests
or not depends on the order in which the provider dictionary keys
are iterated, which is specific to the dictionary implementation.
2016-09-18 04:04:32 +02:00
Jake Teton-Landis 51f68f41a2 Unit test Vagrant::Util::Subprocess's STDIN support
- create new unit test file for this class, as none existed.
- test `Vagrant::Util::Subprocess#execute` behavior relating to STDIN
  handling.
2016-09-15 18:19:01 -07:00
Richard Quadling 5286410e52 Update nfs.html.md 2016-09-16 00:21:02 +01:00
Chris Roberts 5872611d59 [windows] Use subprocess for safe_exec on windows 2016-09-15 13:08:58 -07:00
Chris Roberts 2281c9fc03 Merge pull request #7798 from chrisroberts/travis/remove-installed-bundler
[travis] remove installed bundler
2016-09-15 11:19:06 -07:00
Chris Roberts fc79e8c2f3 [travis] remove installed bundler 2016-09-15 10:13:30 -07:00
Chris Roberts 30ad550278 Merge pull request #7781 from blaise-zaga/patch-1
Update providers.html.md
2016-09-14 14:49:01 -07:00
Emmanuel Obidiegwu ad4820484b Update providers.html.md 2016-09-07 09:45:14 +01:00
Jake Teton-Landis ceb69e6266 Allow closing a Vagrant::Util::Subprocess's STDIN
Previously, there was no way to close the STDIN stream of a subprocess,
so commands that read from stdin in a subprocess would hang forever,
such as `/bin/sh -s`. If one tried to close the stdin, the
IO.select() call in Subprocess#execute would raise an error for calling
select() on a closed IO.

Here's a concrete example of a command that needs to close STDIN to work
properly:

```ruby
script = SOME_VERY_LONG_STRING
command = %w(ssh foo.example.com /bin/sh -s foo bar)
result = ::Vagrant::Util::Subprocess.execute(*command) do |type, data_or_io|
  if type == :stdin
    data_or_io.write(script)
    data_or_io.write("\n")
    data_or_io.close
    next
  end

  puts "Remote: #{data_or_io}"
end
```
2016-09-04 16:45:38 -07:00
Richard Quadling c7a1c681d0 Add note about using a separate file for sudoers 2016-08-26 14:26:40 +01:00
Alejandro Ojeda 50ca748b5c Fix Vagrant not prioritizing configured providers correctly
Fixes #7135: config.vm.provider not setting provider in multi-machine Vagrantfile
2016-08-25 03:34:23 +02:00
AJ 2e723ea308 added general restart for network - to prevent IP address dropping on interfaces 2016-08-23 21:02:11 +01:00
AJ 1c4e7ee068 assuming a scenario - vagrant up -> power off -> vagrant up
vagrant will stuck on the network configuration

DEBUG ssh: stdout: mv: overwrite '/etc/sysconfig/network-scripts/ifcfg-eth0'?
DEBUG ssh: Sending SSH keep-alive...
2016-08-23 20:58:15 +01:00
Chris Roberts 9c299a2a35 Merge pull request #7724 from dragon788/patch-2
Updated comments to match example
2016-08-19 10:48:03 -07:00
Chris Roberts 01e2c400ae Update CHANGELOG.md 2016-08-19 10:20:54 -07:00
Chris Roberts c59723e595 Merge pull request #7740 from chrisroberts/nfs/v4
Add NFSv4 warning and information
2016-08-19 10:19:34 -07:00
Chris Roberts 7e07860346 Update CHANGELOG.md 2016-08-19 10:03:23 -07:00
Chris Roberts a7537a6be0 Merge pull request #7726 from chrisroberts/fix/rsync-exclude
Ignore files excluded from sync on chown
2016-08-19 09:58:31 -07:00
Chris Roberts b67e66df95 Update CHANGELOG.md 2016-08-19 09:51:19 -07:00
Chris Roberts 5e44e308a5 Merge pull request #7725 from chrisroberts/fix/package-machine-dir
Machine data directory for base box package
2016-08-19 09:48:38 -07:00
Chris Roberts 2085c702ac Update CHANGELOG.md 2016-08-19 09:45:39 -07:00
Chris Roberts efef2038b7 Merge pull request #7720 from chrisroberts/fix/vb-mount-group
Only use effective group when appropriate
2016-08-19 09:41:36 -07:00
Chris Roberts bbac718925 Add NFSv4 warning and information 2016-08-19 09:33:36 -07:00
Chris Roberts dd6ad2fbf3 guests/linux: only use effective group ID when appropriate 2016-08-17 06:53:26 -07:00
Chris Roberts f577ca3d23 commands/package: provide machine data directory for base box 2016-08-17 06:49:12 -07:00
Chris Roberts 185a7dfc2e guests/rsync do not chown files excluded from sync 2016-08-16 15:13:19 -07:00
dragon788 c75372d0ea Updated comments to match example 2016-08-16 12:32:22 -05:00