8932 Commits

Author SHA1 Message Date
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 v1.8.3 2016-06-10 09:43:11 -07:00
Gilles Cornu
6ee8bb6a84 provisioners/ansible_local: Fix Fedora/RedHat "default" installation mode
With bb9dba56aca7e4bd3546ad1fa3256bfc8955c47e, 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
Seth Vargo
508e5d3863 Merge pull request #7400 from famousgarkin/patch-1
Ansible Local docs typo fix
2016-06-07 09:38:28 -04:00
Ján Dzurek
8985605e35 Ansible Local docs typo fix 2016-06-07 15:18:23 +02:00
Seth Vargo
43538f68a4
Simpler 2016-06-06 19:47:25 -04:00
Seth Vargo
da9306fa27 Merge pull request #6838 from arBmind/Rsync_commandline_output
Add shell quotes to the reported rsync command line to make it readable.
2016-06-06 19:46:42 -04:00
Seth Vargo
3443eaa05f
Update CHANGELOG 2016-06-06 19:38:02 -04:00
Bartłomiej Piotrowski
919f3ee4e4
Remove sysvinit else clauses in NFS for Arch Linux
Currently the code tries to detect if Arch uses systemd via checking
comm= of PID 1. As access to proc filesystem might be restricted due to
hideproc set and systemd is default for all Arch Linux installations
since October 2012, let's just ditch that check.
2016-06-06 19:34:45 -04:00
Seth Vargo
6c86045cd9
Update CHANGELOG 2016-06-06 19:29:41 -04:00
Seth Vargo
d45dc0c9d9 Merge pull request #7207 from msarahan/salt_masterless_rework
Salt: move masterless config to apply to all platforms
2016-06-06 19:28:29 -04:00
Seth Vargo
0ec0420d6b Update docs 2016-06-06 19:21:58 -04:00
Seth Vargo
82a94e979e Merge pull request #7396 from davidsiefert/patch-2
Document how to specify explicit version of box
2016-06-06 19:19:48 -04:00
Seth Vargo
63bbbc0335 Merge pull request #7372 from nicolasvan/virtualbox-race-condition-on-vmexists
Make virtualbox vm_exists? more resilient to VirtualBox transient failures
2016-06-06 19:19:22 -04:00
David Siefert
39a2f04a9e Document how to specify explicit version of box
I needed this....
2016-06-06 18:15:29 -05:00
Seth Vargo
562180c75c
Update CHANGELOG 2016-06-06 19:14:41 -04:00
Seth Vargo
57455b8e86
Update systemctl no-pager on website 2016-06-06 19:14:13 -04:00
Seth Vargo
01e91882f0 Merge pull request #7270 from lpenz/nfspager
Do not let NFS systemctl status use a pager
2016-06-06 19:11:41 -04:00
Seth Vargo
a21e154efd
Update CHANGELOG 2016-06-06 18:42:22 -04:00
Seth Vargo
073e65abf0 Merge pull request #7387 from phyber/fix/master/prepare_nfs_settings_scoped_hash_overrides_fix
Fix/master/prepare_nfs_settings scoped hash overrides fix
2016-06-06 18:41:13 -04:00
Seth Vargo
e9ccc0a357
Update CHANGELOG 2016-06-06 18:27:19 -04:00
Seth Vargo
165712c58e Merge pull request #7395 from mitchellh/sethvargo/amazon_guest
Add amazon guest
2016-06-06 18:26:22 -04:00
Seth Vargo
c8ceb06f6d
guests/amazon: Initial addition
Fixes GH-7254
2016-06-06 18:22:34 -04:00
Seth Vargo
e925f3793a
provisioners/chef: Install in one command 2016-06-06 18:22:17 -04:00
Seth Vargo
4ec2b2af85
Update CHANGELOG 2016-06-06 15:47:07 -04:00
Seth Vargo
b98c134a49 Merge pull request #7393 from mitchellh/sethvargo/guest_caps
Update guest capabilities
2016-06-06 15:45:44 -04:00
Seth Vargo
61d2a50a54
guests/linux: Fix compatibility with dash shell 2016-06-06 12:59:51 -04:00
Seth Vargo
233120eebd
templates/general: Fix failing tests 2016-06-06 12:34:45 -04:00
Seth Vargo
4418efd4a4
guests/general: Use require_relative in tests 2016-06-06 12:24:07 -04:00
Seth Vargo
dc3b9c84da
guests/debian: Do not use shared helper, fix tests 2016-06-06 12:21:50 -04:00
Seth Vargo
07155ee62f
guests/ubuntu: Use require_relative in plugin 2016-06-06 11:58:44 -04:00