Seth Vargo
45e71eca15
Revert "Set max_network_adapters to 36 for Virtualbox"
2016-06-11 01:04:58 +02: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
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
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
Renat Zaripov
d490d0a846
Fix operation name in help message
2016-06-08 15:05:09 +03: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
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
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
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
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
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
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
61d2a50a54
guests/linux: Fix compatibility with dash shell
2016-06-06 12:59:51 -04:00
Seth Vargo
07155ee62f
guests/ubuntu: Use require_relative in plugin
2016-06-06 11:58:44 -04:00
Seth Vargo
fe9c506c4d
guests/ubuntu: Remove require vagrant from guest
2016-06-06 11:58:44 -04:00
Seth Vargo
155aa8cf1d
guests/ubuntu: Change host name in one command
...
This also removes the dependency on the debian hostname setting.
2016-06-06 11:58:44 -04:00
Seth Vargo
dd2e76472b
guests/trisquel: Use require_relative in plugin
2016-06-06 11:58:43 -04:00
Seth Vargo
bbf245b46e
guests/trisquel: Do not require vagrant in guest
2016-06-06 11:58:43 -04:00
Seth Vargo
d2e937585d
guests/suse: Use require_relative in plugin
2016-06-06 11:58:43 -04:00
Seth Vargo
f531480673
guests/suse: Do not require vagrant in guest
2016-06-06 11:58:43 -04:00
Seth Vargo
c9f21a1852
guests/suse: Configure rsync in one command
2016-06-06 11:58:42 -04:00
Seth Vargo
c259032f80
guests/suse: Install NFS client in one command
2016-06-06 11:58:42 -04:00
Seth Vargo
94af771b71
guests/suse: Configure networks in one command
...
This also uses the new predictable network naming.
2016-06-06 11:58:41 -04:00
Seth Vargo
b091f4fe82
guests/suse: Change host name in one command
2016-06-06 11:58:41 -04:00
Seth Vargo
fb90c67a49
guests/smartos: Remove deprecated options
2016-06-06 11:58:41 -04:00
Seth Vargo
fe4fa9dfce
guests/slackware: Use require_relative
2016-06-06 11:58:41 -04:00
Seth Vargo
ece972406d
guests/slackware: Do not require vagrant
2016-06-06 11:58:40 -04:00
Seth Vargo
0bdf6f5ad4
guests/slackware: Configure networks in one command
...
This also switches to using new predictable naming for networks.
2016-06-06 11:58:40 -04:00
Seth Vargo
a7bbb484ad
guests/slackware: Configure hostname in one command
2016-06-06 11:58:40 -04:00
Seth Vargo
c12b413c2e
guests/redhat: Use require_relative in redhat plugin
2016-06-06 11:58:39 -04:00
Seth Vargo
aaedc48425
guests/redhat: Do not require vagrant in guest
2016-06-06 11:58:39 -04:00
Seth Vargo
60d2f4e1b4
guests/redhat: Install RedHat in one command
2016-06-06 11:58:39 -04:00
Seth Vargo
3098c13869
guests/redhat: Configure NFS in one command
...
Previously this was very complicated trying to flip between Ruby and
bash. This commit uses a single bash command that decides between yum
and dnf in the script itself.
2016-06-06 11:58:38 -04:00
Seth Vargo
e09d342284
guests/redhat: Add tests for flavor
2016-06-06 11:58:38 -04:00
Seth Vargo
cc26c46066
guests/redhat: Configure networks in one command
...
This commit also switches to using predictable network names.
2016-06-06 11:58:38 -04:00
Seth Vargo
b91c167b19
guests/redhat: Change host name in one command
2016-06-06 11:58:38 -04:00
Seth Vargo
665534e620
guests/pld: Use require_relative
2016-06-06 11:58:37 -04:00
Seth Vargo
15cac4fd21
guests/pld: Do not require vagrant in guest
2016-06-06 11:58:37 -04:00
Seth Vargo
9702abb5c4
guests/pld: Change host name in one command
2016-06-06 11:58:36 -04:00
Seth Vargo
5e5a91956c
guests/photon: Use require_relative and double quotes
2016-06-06 11:58:36 -04:00
Seth Vargo
9040ecafeb
guests/photon: Configure networks in one command
...
This also removes code that was completely unused during network
configuration.
2016-06-06 11:58:36 -04:00
Seth Vargo
2e943428a9
guests/photon: Change host name in one command
2016-06-06 11:58:35 -04:00
Seth Vargo
a9fb66b3e3
guests/omnios: Use require_relative
2016-06-06 11:58:35 -04:00
Seth Vargo
9812102196
guests/omnios: Do not require vagrant in guest
2016-06-06 11:58:35 -04:00
Seth Vargo
d7bc7c2267
guests/omnios: Add rsync_install functionality
2016-06-06 11:58:34 -04:00
Seth Vargo
c441732c59
guests/omnios: Update NFS folder mounting in one command
2016-06-06 11:58:34 -04:00