Commit Graph

6478 Commits

Author SHA1 Message Date
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
Shawn Neal 9c20014a85 Improved box checksum verification performance
When adding large boxes verifying the checksum took noticably longer than expected because the Ruby GC was needlessly working overtime.
2014-06-23 19:17:37 -07:00
Salimane Adjao Moustapha dd74a82d56 avahi not needed 2014-06-23 17:17:54 +02:00
Salimane Adjao Moustapha b96dc972e0 install rpc package while installing nfs client on centos guests 2014-06-23 14:56:10 +02:00
Matthijs van der Vleuten 1091b4cb54 Don't output stdout and stderr twice when shell provisioner fails
[GH-4086]
2014-06-23 11:35:40 +02:00
Simon Olofsson e35fcd2b27 docker/configuration.html.md: Fix syntax for link.
docker provider:
* Invalid link (should be 'name:alias'): "db"
2014-06-21 19:22:11 +02:00
Justin Page 2ecefe1670 Update Teardown instructions explicitly.
Explicitly define halting and destroying instructions. Leaves no room for implicit assumptions.
2014-06-18 19:51:39 -07:00
Shawn Neal 1e28f1ac31 Merge pull request #4059 from brettporter/windows-puppet-wd
Unable to use puppet.working_directory on Windows
2014-06-18 07:56:49 -07:00
Brett Porter 0c7c143ad1 fix escaping of powershell variable
As this is nested in a powershell variable $command, it must be escaped
otherwise it is evaluated when the variable is created, giving an error that
"The term 'True' is not recognized as the name of a cmdlet, function,
script". This prevented using a puppet.working_directory on Windows.
2014-06-18 16:05:17 +10:00
Mitchell Hashimoto f0cd8511ed Update CHANGELOG 2014-06-12 11:41:00 -07:00
Mitchell Hashimoto 0c3d677bf5 Merge pull request #4006 from mitchellh/fix-issue-3987
guests/windows: reboot after hostname change
2014-06-12 11:40:22 -07:00
Mitchell Hashimoto 4d76327382 guests/freebsd: style 2014-06-12 11:38:53 -07:00
Mitchell Hashimoto dec2760465 Update CHANGELOG 2014-06-12 11:38:03 -07:00
Mitchell Hashimoto dffdf763a6 Merge pull request #4009 from calvinhp/fix/master/freebsd_rsync_install
guest/freebsd: update rsync install for FreeBSD 10
2014-06-12 11:37:29 -07:00
Mitchell Hashimoto 4f0e527f5d core: don't delete data dir if no data dir [GH-4017] 2014-06-12 11:30:10 -07:00
Calvin Hendryx-Parker eda1ac5667 Updated the rsync freebsd plugin install process for FreeBSD 10 2014-06-10 15:07:50 -04:00
Shawn Neal d4bd05883d Fixed issue 3987
Reboot the Windows guest after renaming the computer so changes take affect immediately before attempting to provision the box.

- Changed rename from wmic to netdom since netdom seems to work correctly in Windows 2008R2 and newer OSs.
- Fixed Windows guest error translations, the wrong namespace was specified in the yaml file.
2014-06-09 22:46:03 -07:00
Mitchell Hashimoto 0a5f6bb77e Update CHANGELOG.md 2014-06-06 19:53:26 -07:00
Mitchell Hashimoto c5fa6b1191 Merge pull request #3983 from dougm/nixos-nfs-client
guest/nixos: nfs_client_installed capability
2014-06-06 19:52:38 -07:00
Doug MacEachern 3b1b3d0a00 Add nixos guest capability: nfs_client_installed 2014-06-05 17:53:32 -07:00
Teemu Matilainen 004ea50bf2 Fix doc link [GH-3978]
Fixes #3978
2014-06-05 09:18:36 +03:00
Mitchell Hashimoto fd4ecf8021 Update CHANGELOG.md 2014-06-02 22:08:43 -07:00
Mitchell Hashimoto 984bea0bd4 Merge pull request #3962 from StefanScherer/fix_hosts_windows_cap_rdp
hosts/windows: fixed writing rdp file on windows host
2014-06-02 22:08:13 -07:00
Mitchell Hashimoto 6859a4e132 Update CHANGELOG.md 2014-06-02 22:07:11 -07:00
Mitchell Hashimoto 8cd073b148 Merge pull request #3959 from benh57/master
provisioners/puppet: Backtick-escape the facter env command in powershell. Fixes issue 3958
2014-06-02 22:05:14 -07:00
StefanScherer 1b32cbade2 fixed writing rdp file 2014-06-03 06:57:14 +02:00
Ben Hines 7d52f0e14d Backtick-escape the facter env command in powershell. Fixes issue 3958 2014-06-02 19:37:29 -07:00