Commit Graph

8960 Commits

Author SHA1 Message Date
Rory Plaire d3859a33aa Fixing version check and catch statement in get_vm_status
Use the version of Hyper-V instead of Powershell to determine which
exception is thrown by Get-VM. Also fixing an invalid catch statement,
since Powershell can not use variables to match thrown exceptions in
catch.
2016-06-18 17:13:24 -07:00
Gilles Cornu 2ffcadc7b8
up version for dev 2016-06-17 06:04:14 +02:00
Seth Vargo 4305dac19f
Update CHANGELOG 2016-06-16 16:28:07 -04:00
Seth Vargo 5e0f5ae9df Merge pull request #7467 from mitchellh/sethvargo/check_output
Check stdout instead of process output
2016-06-16 22:27:13 +02:00
Seth Vargo d01ddeeb43
Check stdout instead of process output
Fixes GH-7465
2016-06-16 16:20:15 -04:00
Seth Vargo e7b25f1bee
Update CHANGELOG 2016-06-16 15:32:51 -04:00
Seth Vargo add40534de
Use strip instead of chomp 2016-06-16 15:32:11 -04:00
Seth Vargo 23b34bb6c0 Merge pull request #7456 from jonnywilliamson/patch-1
Append newline to each key added
2016-06-16 21:28:33 +02:00
Seth Vargo 9dc6e190e9
Update CHANGELOG 2016-06-16 15:23:21 -04:00
Seth Vargo 1be664477d Merge pull request #7460 from northerngit/master
Use ip instead of deprecated ifconfig for Red Hat/CentOS guests
2016-06-16 21:21:19 +02:00
Jonathan d1be7ae84a Better method for string concatenation
Never developed in Ruby before. I have only just discovered that apparently `<<` is a better method of string concatenation.
2016-06-16 11:59:11 +01:00
Jonathan 2720ed3d2c Apply new line before shell to system
Having looked at the code again this seems like a more straightforward way of fixing the bug.
2016-06-16 11:47:47 +01:00
James Wilson 358ad8f18f Use ip instead of deprecated ifconfig for Red Hat/CentOS guests 2016-06-16 10:06:58 +01:00
Jonathan f7f46ba47d Append newline to each key added
The change to this file 10 days ago removed a newline character at the end of each key added to it. This mean that when another key was added, it continued on the same line as the one before and thus wasn't being detected when an ssh connection came in with a key file.

With regards to https://github.com/mitchellh/vagrant/issues/7455 this is an (ugly) fix.

I'm sure someone knows a better command to concat a file and a string and append it to the `authorized_keys` file. But this does fix the problem.
2016-06-15 23:56:22 +01:00
Seth Vargo e65f61605d
Update CHANGELOG 2016-06-15 12:20:23 +02:00
Seth Vargo d7c43723ff Merge pull request #7453 from mitchellh/sethvargo/listen
Bump listen gem
2016-06-15 12:18:45 +02:00
Seth Vargo 1881d454a3
Bump listen gem
This Fixes GH-7441 by bumping the listen gem to a version that supports
older OSX. The problem is that that older version does not support older
Ruby, so we need to bump the Ruby version too.
2016-06-15 11:50:45 +02:00
Seth Vargo 81718200a3
Update RELEASE 2016-06-14 20:33:19 +02:00
Seth Vargo 3ba53f2c06
Bump website release to 1.8.4 2016-06-14 08:38:49 +02:00
Seth Vargo 172e76abe9
Bump version for development 2016-06-13 23:35:28 +02:00
Seth Vargo bedaeee190
Version bump v1.8.4 2016-06-13 10:21:40 +02:00
Seth Vargo 814d89cbf4 Merge pull request #7432 from sean-/master
Doc fix: Flesh out the list of base box guides.
2016-06-13 09:41:32 +02:00
Sean Chittenden 5c1ec1c8b7
Flesh out the list of base box guides in the documentation. 2016-06-12 22:50:35 -07:00
Seth Vargo 349d320984
Update CHANGELOG 2016-06-12 16:23:59 +02:00
Seth Vargo 72d809c6d0 Merge pull request #7428 from ezamriy/fix/master/cloudlinux7_flavor
Add CloudLinux 7 to RHEL 7 flavors.
2016-06-12 16:20:28 +02:00
Eugene Zamriy eaa4e11c62 Add CloudLinux 7 to RHEL 7 flavors. 2016-06-12 16:51:55 +03:00
Seth Vargo cb1749b375
8 network adapters, always 2016-06-11 20:00:16 +02:00
Gilles Cornu 008ebb5afd Update CHANGELOG
[ci skip]
2016-06-11 07:37:38 +02:00
Gilles Cornu a7dfc73b85 provisioners/ansible: honor galaxy_roles_path when running ansible-playbook
This commit include the following changes:
- systematically set ANSIBLE_ROLES_PATH environment variable when
  galaxy_roles_path is defined.
- slightly refactor to introduce the concept of "provisioning working
  directory" (possible usage in the future for resolving GH-7195)
- fix a bug in ansible-galaxy execution by the ansible_local provisioner
  if the paths contains blank characters.

Fix #7269
2016-06-11 07:28:05 +02:00
Seth Vargo 2cecbfd2eb
Update CHANGELOG 2016-06-11 02:37:09 +02:00
Seth Vargo fce4252b4d Merge pull request #7419 from mitchellh/revert-7293-master
Revert "Set max_network_adapters to 36 for Virtualbox"
2016-06-11 02:35:30 +02:00
Seth Vargo 41aa2578f5 Merge pull request #7418 from mitchellh/sethvargo/lock_bundler
Lock bundler to 1.12.5
2016-06-11 02:13:58 +02:00
Seth Vargo 45e71eca15 Revert "Set max_network_adapters to 36 for Virtualbox" 2016-06-11 01:04:58 +02:00
Seth Vargo cfb3e695f0
Install a specific version of bundler 2016-06-11 00:52:18 +02:00
Seth Vargo a4c7bb8228
Lock bundler to 1.12.5 2016-06-11 00:41:26 +02:00
Mitchell Hashimoto 3ba52d0a37
up version for dev 2016-06-10 11:13:01 -07:00
Mitchell Hashimoto 6a2f912791
RELEASE.md for release info 2016-06-10 11:11:10 -07:00
Mitchell Hashimoto 6d9217f597
website: update for 1.8.3 2016-06-10 11:00:04 -07:00
Mitchell Hashimoto 018cbc6550
v1.8.3 2016-06-10 09:43:11 -07:00
Gilles Cornu 6ee8bb6a84 provisioners/ansible_local: Fix Fedora/RedHat "default" installation mode
With bb9dba56ac, I introduced a pitiful
regression in "rpm-based" Ansible installation (via yum or dnf).

This fix is part of GH-6654
2016-06-09 19:16:47 +02:00
Gilles Cornu 14c997317a Update CHANGELOG [GH-6526, GH-7190]
[ci skip]
2016-06-09 14:58:48 +02:00
Gilles Cornu 6ee69e3150 Merge pull request #7190 from electrofelix/ansible-parallel-race
Fix a race condition in the concurrent generations of the ansible inventory file, while running `vagrant up --parallel`.

Closes GH-6526
2016-06-09 14:56:03 +02:00
Seth Vargo faca8ef43f Merge pull request #7409 from legal90/fix-util-presence
Require "vagrant/util/presence" in package action
2016-06-09 06:27:00 -04:00
Mikhail Zholobov db3aad3822
Require "vagrant/util/presence" in package action 2016-06-09 13:13:58 +03:00
Gilles Cornu 06a12097b1 provisioners/ansible(both): fix docs indentation
Bullet Lists are no longer correclty grouped (after the introduction of
the new layout). This is kind of workaround to keep each sub-paragraphs
of a list item well aligned.
2016-06-08 23:53:58 +02:00
Gilles Cornu eb1e8f8673 provisioners/ansible(both): apply ruby 2.x style
Use Ruby 2.0 syntax for named parameters and hash entries.
2016-06-08 23:53:58 +02:00
Gilles Cornu d57b7201c4 provisioners/ansible_local: align code style
Remove parenthesis to all "machine.communicate." method calls in the
"cap/guest" files...
2016-06-08 23:53:58 +02:00
Gilles Cornu bb9dba56ac provisioners/ansible_local: add "pip" install_mode
These changes have been validated against the following guest systems:
- Debian 7 and 8
- Ubuntu 12.04, 14.04 and 16.04
- Fedora 21 and 23
- CentOS 7
- OracleLinux 7
- Scientific Linux 7

At the moment, the pip setup (via get-pip.py script) is not working for
RHEL6-like systems (CentOS 6.6, OracleLinux 6.5, Scientific Linux 6),
because Python 2.6 has been deprecated and is no longer supported by
Python core team. I consider this limitation with low priority in
Vagrant context.

The `:pip` install_mode is currently not implemented for the following
platforms:
- OpenSUSE
- ArchLinux
- FreeBSD

Known Issue: By using get-pip.py script, any previous pip installation
will be most probably overrided. This could be an issue for Python
developers who would prefer to keep their base box setup untouched. In
future iteration, it could be possible to choose to reinstall/upgrade
pip or not. issue for Python developers who would prefer to keep their
base box setup untouched. In future iteration, it could be possible to
choose to reinstall/upgrade pip or not.

Resolve GH-6654

Resolve GH-7167 as the `version` option is now considered to select the
version of Ansible to be installed.
2016-06-08 23:53:58 +02:00
Seth Vargo 08cf08a110 Merge pull request #7406 from rrzaripov/fix-operation-name-in-help
Fix box remove --force help message
2016-06-08 14:45:24 -04:00
Renat Zaripov d490d0a846 Fix operation name in help message 2016-06-08 15:05:09 +03:00