Commit Graph

11780 Commits

Author SHA1 Message Date
Chris Roberts 2af84265f1 Update CHANGELOG 2019-01-03 15:26:53 -08:00
Chris Roberts 023238b3d1
Merge pull request #10528 from chrisroberts/e-ps-elevated
Add support for running elevated commands using the powershell command
2019-01-03 15:25:56 -08:00
Chris Roberts 0e933f58eb Update CHANGELOG 2019-01-03 15:19:22 -08:00
Chris Roberts c7522b9114
Merge pull request #10529 from chrisroberts/e-rsync-chown
Add support for using the `--chown` flag with rsync when available.
2019-01-03 15:18:14 -08:00
Chris Roberts 74e5e31967 Update CHANGELOG 2019-01-03 13:53:19 -08:00
Chris Roberts 1f959e03cb
Merge pull request #10532 from chrisroberts/e-reboot
Add reboot option to shell provisioner
2019-01-03 13:52:19 -08:00
Chris Roberts 7fbcb88d82
Merge pull request #10539 from jalandis/disable-required-install_type-salt-option-windows
Disabled salt provision required install_type check on Windows
2019-01-03 13:44:05 -08:00
Chris Roberts 22ed57e9e5 Update CHANGELOG 2019-01-03 13:41:27 -08:00
Chris Roberts 7c1cb4220c
Merge pull request #10537 from jalandis/update-salt-version-in-bootstrap-script
Upgrade default Salt version from 2017.7.1 to 2018.3.3
2019-01-03 13:39:56 -08:00
Chris Roberts 4974fe3a33
Merge pull request #10557 from chrisroberts/f-checkpoint-tests
Update checkpoint client tests
2019-01-03 13:39:37 -08:00
Chris Roberts 4da035200f Update checkpoint client tests
Use `env.ui` for expectations instead of custom double. Fix upgrade
notification test and ensure upgrade notifications are sent to the
error channel.
2019-01-03 10:12:08 -08:00
John Landis bd6fa11281
Disabled salt provision required install_type check on Windows where option is not supported. Added test case for salt provisioner config changes. 2018-12-23 11:39:58 -05:00
John Landis 19dc9fd921
Upgrade default Salt version from 2017.7.1 to 2018.3.3 2018-12-22 18:55:38 -05:00
Chris Roberts e735453422 Add reboot option to shell provisioner
Adds a `reboot` option which allows the guest to be rebooted after
the completion of a shell provisioning task. The guest must support
the `:reboot` capability. Like the `reset` option, the `reboot`
option may be provided without defining `inline` or `file` options
when a reboot may be required between other provisioners.

Fixes #8639
2018-12-21 15:50:59 -08:00
Chris Roberts cb3b8bd732 Add support for using the `--chown` flag with rsync when available.
Adds a new `rsync__rsync_ownership` option to rsync based synced folders
which will allow rsync to use the `--chown` flag if it is available. The
`rsync` and `rsync-auto` commands have a new `--rsync-chown` flag which
can be used to force the option on folders when running the commands.

Fixes #7329 #7332
2018-12-20 17:16:36 -08:00
Chris Roberts 1f565b8f27 Update CHANGELOG 2018-12-20 14:02:09 -08:00
Chris Roberts 9c33ffd3fa
Merge pull request #10527 from chrisroberts/f-configure-net-nm
Fix guest network configuration by properly extracting extra options
2018-12-20 14:00:30 -08:00
Chris Roberts e3cf74566c Add support for running elevated commands using the powershell command
This PR adds support for running command passed via the --command
flag as elevated tasks. The option is only valid for commands and
not when setting up a remote session. Logic has also been adjusted
for when communicator restrictions are applied and test coverage
has been added.
2018-12-20 11:30:25 -08:00
Chris Roberts 9f1e7d9895 Prevent nil dup as unsupported in 2.3 2018-12-20 07:43:43 -08:00
Chris Roberts 97c3ec961c Update CHANGELOG 2018-12-19 16:22:40 -08:00
Chris Roberts f4cb33e954
Merge pull request #10012 from Aloz1/add-host-voidlinux
Add void linux host support
2018-12-19 16:21:52 -08:00
Chris Roberts a4a98d97fc Fix guest network configuration by properly extracting extra options
Extra options are extracted from the machine configuration for the
network being configured to allow for customized network manager
behavior. The network entries must be filtered to remove non-network
entries (like port forwards) before accessing by index.

Fixes #9546
2018-12-19 16:08:47 -08:00
Chris Roberts 7f3e842bf7 Update CHANGELOG 2018-12-19 12:38:51 -08:00
Chris Roberts 4873d7879a
Merge pull request #10524 from chrisroberts/e-share-unset
Automatically answer yes when pruning SMB shares
2018-12-19 12:37:41 -08:00
Chris Roberts ac5b45445a Remove use of `system`. Add test coverage. 2018-12-19 12:19:22 -08:00
Chris Roberts 8ef1d372ae Add a few more updates to the CONTRIBUTING document
Include extra information within CLA section. Update PR lifecycle
steps to include CLA signing. Fix some small grammar things.
2018-12-19 10:12:41 -08:00
Chris Roberts 59b3ae38cc Add CLA information within CONTRIBUTING document 2018-12-19 10:01:22 -08:00
Chris Roberts ee2072ec53 Automatically answer yes when pruning SMB shares 2018-12-19 08:59:13 -08:00
Chris Roberts 3e8f4a5df4 Update CHANGELOG 2018-12-18 16:09:30 -08:00
Chris Roberts 8eeb48daf6
Merge pull request #10469 from jlduran/fix-network-static
FreeBSD: Fix rcvar in network_static templates
2018-12-18 16:08:27 -08:00
Chris Roberts 564f0163c3 Update CHANGELOG 2018-12-18 11:44:49 -08:00
Chris Roberts f527826f39
Merge pull request #10515 from chrisroberts/f-rsync-auto-clean
Prevent rsync-auto crashes
2018-12-18 11:43:44 -08:00
Chris Roberts 818d1d97ae Update rsync auto post command error handling to be more generic
Rescue and re-wrap any errors encountered when running the post
rsync capability. Rescue this exception type and notify of error
when encountered by rsync auto. Include test coverage.
2018-12-18 09:50:21 -08:00
hieptranquoc 480e992ea1 @ #10460 | vagrant rsync should restart when rsync find chown command error 2018-12-18 09:49:44 -08:00
hieptranquoc aa6908cc00 @ #10460 | fix vagrant rsync-auto is crashed 2018-12-18 09:49:21 -08:00
Chris Roberts a2a4883355 Update CHANGELOG 2018-12-17 16:15:29 -08:00
Chris Roberts 66938d20cf
Merge pull request #10512 from chrisroberts/f-hostnamectl-no-dbus
Validate hostnamectl command is in working state
2018-12-17 16:14:23 -08:00
Chris Roberts 95493d6c59 Validate hostnamectl command is in working state
When checking if the hostnamectl command should be used for configuring
the guest hostname, ensure the command returns a valid result. The
hostnamectl command relies on dbus and if dbus is not available the
command will simply fail.
2018-12-17 12:46:30 -08:00
Brian Cain 6bff374e79
Merge pull request #10502 from kant/patch-1
Minor fix on string #041
2018-12-13 14:42:33 -08:00
Darío Hereñú aae6e34e6f
Minor fix on string #041 2018-12-13 19:20:02 -03:00
Chris Roberts b3707afca0 Update CHANGELOG 2018-12-13 09:19:58 -08:00
Chris Roberts 2daafd9586
Merge pull request #10490 from chrisroberts/f-snapshot-behavior
Update behavior of `snapshot restore` and `snapshot pop`
2018-12-13 09:18:20 -08:00
Chris Roberts 480bb47e1d
Merge pull request #10496 from chrisroberts/e-ssh-config-file
Add support for config and remote_user to SSH options
2018-12-13 09:16:49 -08:00
Chris Roberts 03b06686e4 Update CHANGELOG 2018-12-13 09:16:03 -08:00
Chris Roberts 19025bb8c3
Merge pull request #10488 from chrisroberts/f-powershell-elevated
Only modify elevated username under specific conditions
2018-12-13 09:14:30 -08:00
Brian Cain e1db9a9263
Merge pull request #10500 from Brandon9598/patch-1
Update project_setup.html.md
2018-12-13 08:11:32 -08:00
Brandon9598 8e8bfd60a9
Update project_setup.html.md 2018-12-13 08:36:36 -05:00
Chris Roberts 90a5854684 Fill out ssh options config and remote_user
Include config option within ssh_config command output template. Default
remote_user value to set username value. Include existence check on
provided config value to ensure file is available. Update tests to
include coverage on all changes. Add new options to the docs.
2018-12-11 08:09:43 -08:00
Gavin Williams 0500f2b9b3 Add support for SSH config file to Rsync helper 2018-12-11 07:51:47 -08:00
Gavin Williams 9d72feb36c Add support for SSH config file to to 'vagrant ssh' command 2018-12-11 07:51:47 -08:00