Commit Graph

9378 Commits

Author SHA1 Message Date
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
dragon788 977630c7de Corrected typo, added a couple examples. 2016-08-15 16:45:35 -05:00
Matt Wrock 64828f1ed3 fix #7489 preventing winrm connection leakage 2016-08-13 07:49:08 -07:00
Chris Roberts c5438675ea Update CHANGELOG.md 2016-08-12 16:48:38 -07:00
Chris Roberts b87e02205c Merge pull request #7675 from chrisroberts/en/linux-cap-halt
guests: Prevent ssh disconnect from causing error on halt
2016-08-12 16:47:22 -07:00
Chris Roberts c082ba41f9 Update CHANGELOG.md 2016-08-12 16:19:31 -07:00
Chris Roberts 3abfbec5a6 Merge pull request #7623 from carlosefr/relative-dotfile-path
Support Vagrantfile-relative VAGRANT_DOTFILE_PATHs
2016-08-12 16:17:10 -07:00
Mitchell Hashimoto c64c19c1b9 Update CHANGELOG.md 2016-08-12 14:59:40 -07:00
Chris Roberts dd91269491 guests: Prevent ssh disconnect from causing error on halt 2016-08-12 13:25:39 -07:00
Chris Roberts 19c3d838d1 Update CHANGELOG 2016-08-12 10:41:08 -07:00
Chris Roberts 4b3fefe220 Merge pull request #7705 from chrisroberts/fix/linux-guest-net-iface
guests/linux: Always order discovered network interfaces
2016-08-12 10:37:01 -07:00
Chris Roberts ce3329e184 guests/linux: Always order discovered network interfaces 2016-08-12 10:31:41 -07:00
Chris Roberts 4b1d45b969 Update CHANGELOG 2016-08-11 16:17:55 -07:00
Chris Roberts af2175e8e0 Merge pull request #7676 from chrisroberts/en/cmd-pre-filter
Filter command output in SSH communicator
2016-08-11 16:14:49 -07:00
Chris Roberts f122afeed2 Add more coverage on ssh connector on connect behavior. Remove subject usage. 2016-08-11 15:39:09 -07:00