Commit Graph

10460 Commits

Author SHA1 Message Date
Brian Cain e1d1ba5d55 (#8974) Add Errno::EPIPE exception to ssh communicator
This commit adds an additional exception to retry ssh on when bringing
up a machine and attempting to ssh into the guest.
2017-10-17 16:44:14 -07:00
Brian Cain 1294289d96 Update CHANGELOG 2017-10-11 15:38:40 -07:00
Brian Cain 47edb88fe4 Merge pull request #9034 from briancain/unify-solaris-guests
Unify Solaris Guests
2017-10-11 15:37:24 -07:00
Brian Cain f3fdbf4142 Update CHANGELOG 2017-10-10 09:48:59 -07:00
Brian Cain c88ccb0b3d Merge pull request #9014 from benh57/winssh_puppet_fix
Fix winssh communicator support in puppet provisioner
2017-10-10 09:46:59 -07:00
Brian Cain a849cd2f7d (#8963) Unify Solaris Guests
This commit removes some duplicated code within the Solaris11 guest
implemnentation and instead relies on the Solaris guest for the majority
of its guest capabilities.
2017-10-05 11:31:12 -07:00
Chris Roberts 32a4b73dd4 Enable documentation formatter on rspec 2017-10-05 10:17:30 -07:00
Brian Cain 11e142f766 Update CHANGELOG 2017-10-05 08:46:09 -07:00
Brian Cain 3f321438d0 Merge pull request #8926 from jonlabroad/master
Support Windows Salt Minions greater than 2016.x.x
2017-10-05 08:45:17 -07:00
Bryce Shurts 927f653437 Adding tests for winrm_info_invalid 2017-10-05 10:28:25 -05:00
Bryce Shurts ba3c26b211 Updating winrm_info_invalid to use start_with instead of match 2017-10-05 10:28:10 -05:00
Jonathan LaBroad 73349d6ed6 Whitespace 2017-10-05 07:40:54 -04:00
Jonathan LaBroad 64f8d91888 Add slightly more clarity in test case 2017-10-05 07:33:57 -04:00
Jonathan LaBroad 79365f3789 Test that linux flags don't get passed to Windows Salt minion bootstrap 2017-10-05 06:55:53 -04:00
Jonathan LaBroad 56861296fa Added tests and validation for python_version parameter 2017-10-05 06:25:36 -04:00
Jonathan LaBroad 3524eb9ef4 Merge remote-tracking branch 'upstream/master' 2017-10-04 14:59:57 -04:00
Brian Cain e33ec48c0a Update CHANGELOG 2017-10-04 09:37:40 -07:00
Brian Cain fb1501d48a Merge pull request #8874 from taliesins/HandleChefProvisionerRebootRequest
Handle chef provisioner reboot request
2017-10-04 09:37:02 -07:00
Brian Cain 76f5054f40 Update CHANGELOG 2017-10-04 09:19:05 -07:00
Brian Cain ce3f09eae7 Merge pull request #9029 from bbrala/hyperv-auto-action-docs
Add auto_start_action and auto_stop_action to docs.
2017-10-04 09:18:35 -07:00
Brian Cain 770b87abb1 Update CHANGELOG 2017-10-04 09:13:35 -07:00
Brian Cain 9d360d2b21 Merge pull request #9000 from bbrala/bug-hyperv-auto-stop-action
Auto stop action is configured wrongly
2017-10-04 09:12:09 -07:00
bjorn 6fb697ee32 Add auto_start_action and auto_stop_action to docs. 2017-10-04 10:09:15 +02:00
Brian Cain 0a0b3dc762 Update CHANGELOG 2017-10-03 13:28:21 -07:00
Brian Cain 83310f8a56 Merge pull request #8955 from jehiah/virtualbox52_8955
Virtualbox 5.2 support
2017-10-03 13:25:39 -07:00
Ben Hines e133547932 Properly call winssh communicator on windows via powershell, and fix syntax for powershell via puppet. 2017-09-29 20:53:09 -07:00
Ben Hines ea518f6c78 test() defaults to powershell for winssh, no need to pass it 2017-09-29 19:30:07 -07:00
Ben Hines 6b4584efb6 Use the 'powershell' shell when running powershell commands. Allows winssh communicator to function 2017-09-29 19:17:49 -07:00
Brian Cain 1ee58c40e3 Update CHANGELOG 2017-09-29 15:20:30 -07:00
Brian Cain 87ee4f5662 Merge pull request #8995 from elatt/fix_synced_folders_spaces
Allow synced folders to contain spaces in the guest path
2017-09-29 15:19:39 -07:00
Brian Cain 0c1e89d10d Update CHANGELOG 2017-09-29 14:49:22 -07:00
Brian Cain 49a569beba Merge pull request #8517 from vbrh-immalle/master
Update is_port_open.rb
2017-09-29 14:47:20 -07:00
Erik Lattimore 28a92850ab Allow synced folders to contain spaces in the guest path
It should be valid to allow paths with spaces for the synced folder
guest path but since the guest path is used to generate the ID (if one
isn't provided), this will err out in VirtualBox because it doesn't
allow spaces for the --name argument. We should simply convert ' ' to
'_' as we do with other special characters.
2017-09-29 17:24:12 -04:00
Brian Cain 1bb31e7eb7 Update CHANGELOG 2017-09-29 14:13:14 -07:00
Brian Cain ef040f6f82 Merge pull request #8685 from brianjmurrell/patch-1
Clear POSIXLY_CORRECT when using optparse
2017-09-29 14:12:17 -07:00
Brian Cain 61c36bbed7 Update CHANGELOG
Fix typo in changelog
2017-09-28 16:06:32 -07:00
Brian Cain 29d811fe84 Update CHANGELOG 2017-09-28 15:55:54 -07:00
Brian Cain 0feb8e7edb Merge pull request #8983 from mikeroll/shell-nobold
provisioners/shell: Use ui.detail for displaying output
2017-09-28 15:54:44 -07:00
Brian Cain 79abd2ce3b Update CHANGELOG 2017-09-28 14:24:12 -07:00
Brian Cain acd8eb6284 Merge pull request #8972 from briancain/update-cygwin-path-functions
Split out cygwin path and ensure bin exists
2017-09-28 14:22:15 -07:00
Björn Brala 0f743d0731 Auto stop action is configured through auto start action. 2017-09-26 16:03:35 +02:00
Bryce Shurts 0eaf691ea0 Adding check for APIPA in winrm helper to fix #8996 2017-09-25 16:31:37 -05:00
Benjamin Schiborr c30c00508c provisioners/salt: #8991: Fixes timeout issue in salt bootstrapping for windows
Fixes #8991.

1. When remote executing scripts one should always call powershell with
1a. "-NonInteractive", in order to prevent interactive prompts from leading to an endless waiting time for the script to return
1b. "-NoProfile", in order to prevent the loading of unknown custom profiles before execution of the script which could have unintended side effects
2. During my tests I constantly ran into 408 timeouts when downloading the salt binaries. I've prevented that by adding a simple retry mechanism and an error exit in case of multiple failures. Without this change the bootstrap script never returned (and neither did vagrant up)
2017-09-22 18:08:30 -07:00
Chris Roberts 2355936291 Update documentation link 2017-09-22 16:31:06 -07:00
Chris Roberts 901a166ebe Merge pull request #8958 from krig/suse-commands-2
Update sudoers file for SUSE
2017-09-22 10:53:14 -07:00
Chris Roberts c0d3ac2f47 Merge pull request #8985 from jdanford/fix-stray-backquote-in-docs
Fix stray backquote in "Vagrantfile / SSH Settings" section of docs
2017-09-22 10:52:07 -07:00
Jordan Danford de16f56b45 Fix stray backquote in "Vagrantfile / SSH Settings" section of docs 2017-09-20 09:37:31 -07:00
Mikhail Bulash 508d94d466 provisioners/shell: Use ui.detail for displaying output
Output format of ui.info method (bold text) makes reading long script outputs really heavy on the eyes. ui.detail is a better match for this type of output.
2017-09-18 17:55:07 +03:00
Brian Cain 3c9e1c9d84 (#8954) Split out cygwin path and ensure bin exists
This commit splits out the msys2 and cygwin path functions for
expanding a path with the cygpath tool. It also ensures that the tool
itself exists when the Which class is called so that it doesn't attempt
to escape slashes on nil.
2017-09-15 10:33:04 -07:00
Jehiah Czebotar 7d73af5637
Virtualbox 5.2 support 2017-09-14 15:07:11 -04:00