Commit Graph

7727 Commits

Author SHA1 Message Date
Manuel Pöter 2a2f0a4751 Use hash of machine name for lock file to avoid problems with invalid characters for file names. 2015-08-12 14:25:54 +02:00
Manuel Pöter 772f276ee3 Port support for linked clones to VirtualBox 5.0 driver. 2015-07-16 13:27:24 +02:00
Manuel Pöter dbcb513075 Fix typo. 2015-07-16 13:23:57 +02:00
Manuel Pöter f4d1d068f9 Merge branch 'master' into VB-linked-clone-support 2015-07-13 10:56:17 +02:00
Seth Vargo 0796f052f0 Merge pull request #5937 from aidanhs/patch-1
Fix setting hostname in 12.04
2015-07-11 17:31:57 -04:00
aidanhs 13e2dbaf9d Fix setting hostname in 12.04
Fixes #5934
2015-07-11 19:15:54 +01:00
Mitchell Hashimoto 7743b8314d website 2015-07-10 17:07:17 -06:00
Mitchell Hashimoto 4af1e1a48f up version for dev 2015-07-10 17:03:40 -06:00
Mitchell Hashimoto 799fff6bc8 website/www: use bintray API 2015-07-10 17:00:01 -06:00
Mitchell Hashimoto 9d5727b738 website/www: up for deploy 2015-07-10 16:51:43 -06:00
Mitchell Hashimoto 0fa6b17bfb website/www: fix for new bintray format 2015-07-10 16:45:46 -06:00
Mitchell Hashimoto 20e851dd85 scripts: new website locations 2015-07-10 16:34:23 -06:00
Mitchell Hashimoto 58ccb48899 website: update Ruby version 2015-07-10 16:33:47 -06:00
Mitchell Hashimoto 364db17e3d v1.7.3 2015-07-10 15:37:36 -06:00
Mitchell Hashimoto dec5f70a1e core: fix jailbreaking of plugins
/cc @sethvargo
2015-07-10 15:34:59 -06:00
Kevin Fishner 53dddeb2b8 targeting scripts 2015-07-10 15:21:00 -06:00
Mitchell Hashimoto efe62cfe2a up version for dev 2015-07-10 15:09:11 -06:00
Mitchell Hashimoto fe581a2085 Merge pull request #5927 from mitchellh/sethvargo/sudo_read_ip_address
Use sudo for read_ip_address capability
2015-07-10 14:33:30 -06:00
Seth Vargo 5f383b546c Use sudo for read_ip_address capability
Fixes #4868
2015-07-10 13:25:11 -06:00
Seth Vargo 00f1e46777 Update docs to support VirtualBox 5 2015-07-10 13:17:36 -06:00
Mitchell Hashimoto 3f7f85c076 v1.7.3 2015-07-10 12:47:42 -06:00
Seth Vargo beb5bce698 Update CHANGELOG 2015-07-10 11:54:20 -06:00
Mitchell Hashimoto f6bf8b4789 Merge pull request #5924 from mitchellh/sethvargo/docker_check_args
Save docker args to check if running containers have changed in the Vagrantfile
2015-07-10 11:52:20 -06:00
Mitchell Hashimoto 66b1ac7f05 Merge pull request #5922 from mitchellh/sethvargo/docker_space_args
Add a space before args
2015-07-10 11:50:07 -06:00
Seth Vargo 516d475f16 Checksum args to each docker container in local data
This allows Vagrant to calculate if a container's arguments (such as the run
arguments) have changed in the Vagrantfile since the original run.

Fixes GH-3055
2015-07-10 11:32:02 -06:00
Seth Vargo 3e3037f313 Add a space before args 2015-07-10 10:49:21 -06:00
Gilles Cornu 247fe72068 docs: update ansible provisioner guide [GH-5765]
[ci skip]
2015-07-10 17:36:05 +02:00
Mitchell Hashimoto c846f3f22a Merge pull request #5919 from mitchellh/gildegoma/fix-broken-rspec-tests
core: plugin management requires bundler
2015-07-10 08:58:52 -06:00
Gilles Cornu faeb8a9440 core: plugin management requires bundler
With this change, the `Vagrant::plugins_enabled?` is now false when the
embedded Bundler is not available.

Resolve the broken RSpec unit tests after
479323f1e8.
2015-07-10 13:37:33 +02:00
Gilles Cornu 8f951291be Merge pull request #5765 from mitchellh/gildegoma/key-in-ansible-inventory
Store the first SSH private key in generated Ansible inventory
2015-07-10 09:04:59 +02:00
Gilles Cornu e932bc405e Update CHANGELOG [GH-5765]
[ci skip]
2015-07-10 08:51:17 +02:00
Gilles Cornu df4b74ee54 provisioners/ansible: update doc for GH-5765 (wip) 2015-07-10 08:51:17 +02:00
Gilles Cornu 3842a1f710 provisioners/ansible: provide ssh identities via ANSIBLE_SSH_ARGS (when necessary)
When provisioning multiple machines in sequence (the default vagrant
behaviour), it doesn't make sense to require to provide the private ssh
key(s) via the custom ansible inventory script/file.

To align with the handling of multiple ssh keys per machine, we won't
rely any longer on `--private-key` command line argument, but only pass
the keys via `ANSIBLE_SSH_ARGS` environment variable.

Note that when vagrant generates the ansible inventory and that only one
key is associated to a VM, this step would be redundant, and therefore
won't be applied.

This change fixes the breaking change introduced by 3d62a91.
2015-07-10 08:51:17 +02:00
Luis Pabón 76651a413d provisioners/ansible: Update unit tests
Signed-off-by: Luis Pabón <lpabon@redhat.com>
2015-07-10 08:51:17 +02:00
Luis Pabón f0718d620d provisioners/ansible: Put ssh key in the inventory
Vagrant 1.7.1 creates and injects new ssh keys for each virtual machine.
When it started ansible with the "parallel provisioning trick",
it would only send the ssh key of the targeted virtual machine.
With this change, vagrant now stores the ssh key for each virtual
machines directly in the generated ansible inventory, and thus allow
ansible parallelism.

Note that this change is not sufficient, as it would break vagrant
configuration based on a custom inventory (file or script). This issue
will be addressed in a next commit.

Signed-off-by: Luis Pabón <lpabon@redhat.com>
2015-07-10 08:39:49 +02:00
Mitchell Hashimoto d29487a2bc Merge pull request #5916 from mitchellh/sethvargo/chef_zero
Refactor Chef provisioners
2015-07-09 22:17:31 -06:00
Mitchell Hashimoto 479323f1e8 for newer versions of Bundler, store the runtime 2015-07-09 22:12:47 -06:00
Seth Vargo d72306b6d5 Fix command builder tests 2015-07-09 21:36:50 -06:00
Seth Vargo 4b1847acf3 Use Chef Client for Chef Zero
Fixes GH-5619
2015-07-09 21:23:42 -06:00
Mitchell Hashimoto 931f0700b3 upping version for dev 2015-07-09 21:22:31 -06:00
Seth Vargo 294812fb13 Merge pull request #5915 from mitchellh/sethvargo/bump
Bump to latest bundler
2015-07-09 17:47:46 -06:00
Seth Vargo f93532ce11 Bump to latest bundler 2015-07-09 17:47:36 -06:00
Seth Vargo 40b94afeb5 Update command builder now that provisioning_path has moved to runtime 2015-07-09 17:46:39 -06:00
Seth Vargo a822bb2aa6 Merge pull request #5914 from mitchellh/sethvargo/travis_docker
Try the container VMs
2015-07-09 17:27:50 -06:00
Seth Vargo 5323a51126 Use color 2015-07-09 17:24:29 -06:00
Seth Vargo b191c302f1 Use bundle exec 2015-07-09 17:20:02 -06:00
Seth Vargo dcd8877b60 Try the container VMs 2015-07-09 17:18:19 -06:00
Seth Vargo 85d2a69f98 Update CHANGELOG 2015-07-09 17:07:15 -06:00
Seth Vargo 60330218fb Merge pull request #5913 from mitchellh/sethvargo/windows_chef_paths
Use windows-specific Chef paths
2015-07-09 17:05:40 -06:00
Seth Vargo e9bcf147f0 Prefix with guest_ 2015-07-09 17:01:36 -06:00