Commit Graph

6504 Commits

Author SHA1 Message Date
Mitchell Hashimoto a2646bffb5 Update CHANGELOG 2014-08-05 17:20:56 -07:00
Mitchell Hashimoto bd94fbd9ba Merge pull request #4274 from sax/smartos_rsync
guests/smartos: rsync on SmartOS should use pfexec
2014-08-05 17:20:38 -07:00
Mitchell Hashimoto ee8d4dbc24 Update CHANGELOG 2014-08-05 17:19:40 -07:00
Mitchell Hashimoto 98667f06c8 Merge pull request #4282 from Mayflower/feature/config-box_server_url
core: add config.vm.box_server_url setting
2014-08-05 17:19:12 -07:00
Mitchell Hashimoto 0016ca688b Update CHANGELOG 2014-08-05 17:17:53 -07:00
Mitchell Hashimoto 1cafc00bcb Merge pull request #4297 from gildub/bug/fedora20+network
guests/fedora: Fixes Fedora 20 network issues when virtual
2014-08-05 17:16:40 -07:00
Gilles Dubreuil bd4d4284c4 Fixes Fedora 20 network issues when virtual
On Fedora 20 virtual machines biosdevname command
'Returns 4 if running in a virtual machine.'

This patch:
  - Uses the biosdevname command return value to detect if virtual
  - Uses /sys/net to get interface names - Might be better solution
  - Leaves unchanged the original 'bare metal' case - I wonder what for
    though?

Tested with Fedora Cloud image adapted for vagrant-libvirt

Fixes issue #4104
2014-08-05 13:19:51 +10:00
Franz Pletz 6def193567 Add config.vm.box_server_url setting
This commits adds a new config setting `config.vm.box_server_url` to set
the URL of a local VagrantCloud instance in the Vagrantfile. If the
environment variable `VAGRANT_SERVER_URL` is set, it will still be
preferred.
2014-08-01 14:38:55 +02:00
Eric Saxby 0cb7ec2d52 rsync on SmartOS should use pfexec 2014-07-31 14:41:06 -07:00
Richard Guin 08732f5a39 Added/updated unit tests for WinRM mkdir/rm command filters 2014-07-31 14:42:11 -04:00
Mitchell Hashimoto 1615325e46 Merge pull request #4273 from databus23/patch-1
core: respect subprocess listeners on final yield
2014-07-31 08:48:51 -07:00
Fabian Ruff 47de3225dd Subprocess: respect listeners on final yield 2014-07-31 11:32:25 +02:00
Richard Guin 120b15bc39 Modified WinRM rm filter to account for -f switch, handle recurse properly 2014-07-30 15:43:37 -04:00
Richard Guin 361d41527a Added mkdir command filter for WinRM to be compatible with PS4+ 2014-07-30 15:43:11 -04:00
Daniel Parks e7dce43af3 Fix mitchellh/vagrant#3860 by making sure post-up command never returns an error code. Deleting the default route won't magically start working after waiting N seconds. 2014-07-28 23:15:07 -07:00
Fabio Rehm 89beb695f2 Merge pull request #4255 from glensc/patch-1
Update shared_helpers.rb
2014-07-28 15:27:36 -03:00
Elan Ruusamäe f6448e5553 Update shared_helpers.rb
typo fix
2014-07-27 11:46:18 +03:00
David Thomas 2e900c0e90 Fix 'vagrant up' command for build 2014-07-24 12:02:46 -04:00
Ben Dean dbb92ae412 change the shell provision config to make all the args strings
specifically arrays could contain `Fixnum` args and those wouldn't get turned into strings.
2014-07-22 15:41:01 -04:00
Ben Dean 7dc0e4340e adding failing tests for fixnum args in an array.
The args need to be strings so that an error won't happen with `text.gsub` in bb052366f7/plugins/provisioners/shell/provisioner.rb (L122)

See my comments on mitchellh/vagrant#2982 as to why it needs to test for this.
2014-07-22 15:41:01 -04:00
Alexander Kurilo d2b65a9efa Fix NFS server running and status check
According to https://wiki.archlinux.org/index.php/NFS#Starting_the_server
2014-07-22 16:47:12 +03:00
Steven Leung 1fc36d2d3a Redhat 7 to use systemd as well …
Change nfs plugin to detect distribution and version

Fixes issue #4227
2014-07-21 10:56:06 -07:00
Mitchell Hashimoto efd1d5e11b Update ssh_settings.html.md 2014-07-17 10:54:55 -07:00
Shawn Neal 1500e490cc Merge pull request #4211 from emyl/docs-pty-v2
Mention config.ssh.pty in docs
2014-07-17 10:52:51 -07:00
Emiliano Ticci 0521b0d50c Mention config.ssh.pty in docs 2014-07-17 19:35:34 +02:00
Matt Wrock efd7c619d1 accept vhd as well as vhdx file types on hyper-v 2014-07-17 02:50:51 -07:00
Steve McConville de7ed34120 Changed hardcoded number of interfaces, fixes #4206. 2014-07-17 09:52:57 +01:00
Shawn Neal 5c148e44c3 Merge pull request #4102 from mitchellh/windows-guest-rename-compat
Addressed issues with Windows guest renaming on Win7/8
2014-07-10 13:30:15 -07:00
schauer 8a45485de4 Update puppet.rb
The main manifest may be a single file or a directory of .pp files. 
docs.puppetlabs.com/puppet/latest/reference/dirs_manifest.html#with-puppet-master
https://github.com/mitchellh/vagrant/issues/4039
2014-07-09 21:37:55 +02:00
Shawn Neal edb36abcc0 Merge pull request #4162 from mitchellh/fix-issue-4161
Fixed issue 4161
2014-07-08 13:27:44 -07:00
Shawn Neal 99a537605c Fixed issue 4161
Wrong varaible name was used to try and delete the existing Vagrantfile causing an error.
2014-07-08 13:19:43 -07:00
Ilya Vassilevsky ad54e14d65 Encode directory names to filesystem encoding for proper comparison
Dir.entries have filesystem encoding (ANSI in Windows).
Path fragments have terminal encoding (DOS).
2014-07-08 19:01:43 +04:00
Ilya Vassilevsky 764be49b55 Encode string representation of Environment object for seamless printing 2014-07-08 18:58:58 +04:00
Shawn Neal bfe50e298e Merge pull request #4133 from keiths-osc/windows_virtualbox_vmdk_path_fix
Ensure VirtualBox virtual disks are stored in the correct directory on Windows hosts
2014-07-07 14:27:50 -07:00
anatoly techtonik ebf5b12796 doc: Directories are not supported for destination (issue4147) 2014-07-05 16:21:48 +03:00
anatoly techtonik 329b88bbb4 docs: Add usage example to provisioning/file 2014-07-05 16:13:20 +03:00
Andrew Marks 334981c4bd Changed order of nfs exports parameters for FreeBSD
Seems to fix my problems when using FreeBSD 10
2014-07-03 11:02:06 -07:00
Keith Shook 93f84f53e5 Ensure VirtualBox virtual disks are stored in the correct directory round 2 2014-07-02 10:08:44 -04:00
Keith Shook 0912ddaf5f Ensure VirtualBox virtual disks are stored in the correct directory on Windows hosts 2014-07-02 08:55:00 -04:00
Akzhan Abdulin bf2e8deebe VirtualBox driver should replace only last occurence of suggested VM name. 2014-07-02 08:52:31 -04:00
Shawn Neal 5530f32922 Merge pull request #4126 from mitchellh/chef-server-grammar-fixes
Fix spelling of Chef Solo, Chef Client, and Chef Server in website docs
2014-06-29 17:58:06 -07:00
Shawn Neal ab6cac8c74 Fix spelling of Chef Solo, Chef Client, and Chef Server in website docs 2014-06-29 16:56:02 -07:00
Shawn Neal 4b11f6ed30 Merge pull request #4120 from jdmulloy/fix_ssh_typo
Removed extra n from the word "connection"
2014-06-28 10:00:58 -07:00
jdmulloy 50d0861de4 Removed extra n from the word "connection"
Removed extra n from the word "connection" in "Attempting SSH connection" in logger call.
2014-06-27 19:27:23 -04:00
Dennis Hoppe 9fc64aa025 Fix value for manifest_file
This value should match the default, mentioned at the Vagrant Documentation. Otherwise, new users could be confused.
2014-06-27 11:22:38 +02:00
Andrew Berry 7a57df03fb Note that rsync__args ownership options aren't used. 2014-06-26 17:33:12 -04:00
Andrew Berry ef248c9ac4 Link to the basic options page for owner and group. 2014-06-26 17:29:20 -04:00
Shawn Neal 911406ed4a Addressed issues with Windows guest renaming on Win7/8
Removed dependency upon netdom which is not always available on all Windows versions. This implementation that uses PowerShell and WMI should work on all OS and PowerShell versions.

Fixed another issue where host renames would always happen when the hostname was longer than 15 characters. The COMPUTERNAME environment variable only returns the first 15 characters so we no longer use that to check the current host name.
2014-06-25 12:15:01 -07:00
Shawn Neal 2fd634273f First attempt at trying to fix issue 2476
This addresses the error "chef is not part of the bundle" when the chef-client provisioner attempts to delete the node or client from the Chef Server. While this fixes the specific issue on my system, its likely that it does not account for all system configurations like RVM.

The Bundler.with_clean_env should probably be moved internally to Subprocess.execute, but that's a riskier change and I'd like to get some feedback before even attempting that size of change.
2014-06-24 16:49:17 -07:00
Shawn Neal c72a412600 Better WinRM command failure messaging
Command failures include the stdout and stderr in the error message just like the SSH communicator.
Its now possible to specify only an error_class and have that use the correct error_key by default.
2014-06-24 10:09:11 -07:00