Brian Cain
0cbf6970fc
Update config class setting
2018-04-20 10:51:38 -07:00
Brian Cain
607368a66c
Introduce merge function to preserve internal state
2018-04-20 10:51:38 -07:00
Brian Cain
d26a925bd7
Update variable doc
2018-04-20 10:51:38 -07:00
Brian Cain
5ca1d1ab64
Finalize config in plugins finalize, improve docs
2018-04-20 10:51:38 -07:00
Brian Cain
b04f13657b
Move warning to logger rather than guest
2018-04-20 10:51:38 -07:00
Brian Cain
a96baad0d7
Add comments for later dev
2018-04-20 10:51:38 -07:00
Brian Cain
60ff2489c4
Display warning if vagrant command for trigger is not found
2018-04-20 10:51:38 -07:00
Brian Cain
8e72ae5bd6
Add basic validation for trigger config objects
2018-04-20 10:51:38 -07:00
Brian Cain
375e8d7153
Remove old comments
2018-04-20 10:51:38 -07:00
Brian Cain
3c5e4b2464
Fix variable doc
2018-04-20 10:51:38 -07:00
Brian Cain
50ecf45d50
Add more doc to create_trigger function
2018-04-20 10:51:38 -07:00
Brian Cain
c10ae070b6
Store correct command for trigger
2018-04-20 10:51:38 -07:00
Brian Cain
e0a5b1d647
Parse block trigger configs
2018-04-20 10:51:38 -07:00
Brian Cain
6f00eb5679
Move trigger options into own plugin class
2018-04-20 10:51:38 -07:00
Brian Cain
fdf1b58570
Introduce ids for trigger blocks
2018-04-20 10:51:38 -07:00
Brian Cain
bb2f3b35b9
Add basic unit test
2018-04-20 10:51:38 -07:00
Brian Cain
7cccddc009
Add basic scaffolding for command parsing
2018-04-20 10:51:38 -07:00
Brian Cain
01b904061d
Use proper command reference for command whitelist params
2018-04-20 10:51:38 -07:00
Brian Cain
0142722787
Add run and run_remote scaffolding
2018-04-20 10:51:38 -07:00
Brian Cain
813ffd06ec
Add more trigger config options
2018-04-20 10:51:38 -07:00
Brian Cain
a194057fc0
Add trigger config plugin
2018-04-20 10:51:38 -07:00
Jose Luis Duran
53acd20548
Fix network configuration on FreeBSD hosts
...
There was a missing space within `sed` parameters that caused the
`rc.conf` file to be wrongly created as `rc.conf-e`.
2018-04-19 16:25:16 -03:00
Isaac Freeman
de71626922
docker: use Kernel.system for docker-exec when -t is given
2018-04-18 17:50:47 -04:00
Brian Cain
9f29812db8
Merge pull request #9690 from briancain/expand_nodes_path_chef
...
File path expand all chef_zero config path options
2018-04-18 13:04:38 -07:00
Brian Cain
9660951c89
Merge pull request #9490 from jzinn/solo-rb-cookbook-path
...
Improve Windows drive letter removal hack
2018-04-18 08:31:23 -07:00
Julian Zinn
269645f63d
Improve Windows drive letter removal hack
2018-04-17 13:23:14 -07:00
Brian Cain
151095a3e9
Merge pull request #9420 from ryanwalder/salt-json
...
Add master_json_config & minion_json_config options to salt provisioner
2018-04-16 15:37:44 -07:00
Brian Cain
e8ab85e92b
( #9383 ) File path expand all chef_zero config path options
...
This commit ensures that all paths are properly file path expanded for
each config option in chef_zero.
2018-04-16 11:05:39 -07:00
Brian Cain
42df3e7185
Merge pull request #9685 from briancain/improve-hostonly-conf-error
...
Improve network collision error message
2018-04-12 15:18:50 -07:00
Brian Cain
4db3d49157
Improve network collision error message
...
This commit provides a bit more information when a non-hostonly network
collides with a host network.
2018-04-12 14:16:13 -07:00
Chris Roberts
5d7506afe3
Merge pull request #9676 from chrisroberts/e-win-file-perms
...
Update generated ssh private key file permissions on create
2018-04-10 14:56:28 -07:00
Chris Roberts
b605da0ef5
Merge pull request #9673 from chrisroberts/f-win-paths-filter
...
Fix windows command filters
2018-04-10 14:44:32 -07:00
Chris Roberts
9731720773
Update generated ssh private key file permissions on create
...
This updates the permissions on the automatically generated private
key file to only be readable by the user. Includes support for file
permission modification on Windows platform.
2018-04-10 14:15:14 -07:00
Brian Cain
f1de9821e1
Merge pull request #8099 from chrisroberts/windows/shared-folder-path
...
Fix virtualbox shared folders path
2018-04-10 09:16:06 -07:00
Chris Roberts
ddfd86f3d1
Split with shellwords and quote paths in command filter
...
This uses shellwords to split the command in the command filter
inside the winrm communicator. Using shellwords properly handles
things like quoted paths. Path arguments are also quoted to
prevent issues with paths that include spaces.
Fixes #9390
2018-04-09 17:00:30 -07:00
Brian Cain
7fe03988aa
Merge branch 'puppet_structured_facts_toyaml_on_provisioner' of git://github.com/aloyr/vagrant into aloyr-puppet_structured_facts_toyaml_on_provisioner
2018-04-09 11:01:36 -07:00
David Duponchel
d08a472610
Support arrays for data_bags_path in chef-zero
...
The pull request #6561 added the support for arrays for data_bags_path
in chef-solo and chef-zero, but missed a `.first` in chef-zero (which
only keeps the first data bag path). The documentation and the template
for chef-zero are already good (since #6561 ).
Fixes #9668 .
2018-04-09 17:46:42 +02:00
Chris Roberts
97dd9e0469
Adjust priority of network configuration file for debian guests
...
This adjusts the priority of the network configuration file from 99
to 50 making it easier for customized configuration.
Fixes #9592
2018-04-02 12:08:06 -07:00
Brian Cain
696ffa4e30
Merge pull request #9528 from artw/master
...
less specific string grep to fix PhotonOS 2.0 detection
2018-03-22 10:31:29 -07:00
Brian Cain
ab24bd2cf1
Merge pull request #9600 from kinvolk/kosy/coreos
...
Identify operating systems closely related to CoreOS
2018-03-22 10:11:43 -07:00
Brian Cain
0ce6e9891e
Merge pull request #9572 from jsoref/spelling
...
Spelling
2018-03-22 09:50:52 -07:00
Kosy Anyanwu
52a8b0c65e
Identify operating systems closely related to CoreOS
...
If the the value of ID= is not recognised, identify the OS if it is a derivative of CoreOS
https://www.freedesktop.org/software/systemd/man/os-release.html#ID_LIKE=
2018-03-20 17:51:20 +01:00
ajpaul
2c9e9e9ab8
reintroduce sleep_timeout for guests that fail the :wait_for_reboot capability check
2018-03-16 13:53:27 -04:00
Adam Paul
2dfe520eb8
add capability test before attemping to use capability
2018-03-15 11:45:42 -04:00
Adam Paul
76551a1692
Fix graceful_halt_timeout issue #8486
2018-03-15 10:38:07 -04:00
Josh Soref
1a5ddea9f4
Spelling fixes
...
* account
* addresses
* administrator
* afterwards
* because
* bridgeable
* capabilities
* capability
* checksum
* configuration
* configuration for
* configure
* criteria
* delimited
* delivered
* derivatives
* description
* detect
* directory
* display
* downloading
* during
* electric
* enabling
* encountered
* equivalent
* executable
* executed
* hashicorp
* hypervisor
* hyphens
* implementation
* incorporate
* inheritance
* initialize
* instance
* instead
* interactions
* invocable
* machine
* maximum
* message
* mounting
* overridden
* overwrite
* paramiko
* preparing
* provides
* provisioning
* recursively
* requested
* resetting
* retryable
* running
* satisfied
* searching
* sometimes
* specified
* successfully
* synced folders
* unauthorized
* underlying
* userprofile
* vagrant
* vagrantfile
* variable
* various
* version
* virtual
* windows
2018-03-14 14:41:04 +00:00
Chris Roberts
51232f9a03
When matching hostonly adapter name, force common types
...
Force a string type for comparison to prevent false positives when
the name is unset (resulting in a nil value).
2018-03-09 14:15:31 -08:00
Art Win
9c93e548af
the label changed in 2.0
2018-03-01 13:05:26 +02:00
Brian Cain
ac37b67eca
Merge pull request #9518 from briancain/fix-package-cmd-wsl
...
Convert to windows path if on WSL during vbox export
2018-02-28 08:07:56 -08:00
Brian Cain
73a5a5a8c9
( #9059 ) Convert to windows path if on WSL during vbox export
...
Prior to this commit, the incorrect path was used when determining where
to export an ovf file during the `vagrant package` step. This commit
updates that by checking if vagrant is within WSL, and if so, convert
the path to a proper windows path to be used during the export.
Fixes #9059
2018-02-27 16:02:25 -08:00
Brian Cain
0b92123163
Merge pull request #9507 from briancain/fix-hyper-v-check
...
Fix Hyper-v and VirtualBox check
2018-02-26 14:54:51 -08:00
Brian Cain
007e6f49aa
Merge pull request #9302 from eyJhb/master
...
Fixed hostonly matching not respecting :name argument
2018-02-26 14:50:45 -08:00
Brian Cain
f2954a64c6
Fix Hyper-v and VirtualBox check
...
Prior to this commit, the hyper-v and virtualbox system crash check
existed within the initialize function of the virtualbox provider. That
caused an issue when running with other providers, because the
virtualbox provider still gets initialized even if not used. This commit
changes that by placing the check inside of one of the virtualbox
provider actions that checks if virtualbox is installed and ready to
use. This action is action is used by the main vbox provider actions,
and should not be called when other providers are being used with
Vagrant.
2018-02-23 11:24:30 -08:00
Chris Roberts
a1529d5fbe
Merge pull request #8828 from mkhon/nfsv4-default-tcp
...
nfs_udp is false by default if using NFS v4
2018-02-23 09:50:49 -08:00
Chris Roberts
fc5ceafbcf
Only generate notice once
2018-02-22 14:49:44 -08:00
Chris Roberts
f2bf18e56b
Update behavior of the authentication middleware
...
Always remap old hosts to target host when encountered. When custom
vagrant server is defined, warn when tokens may be attached and allow
time for user to cancel.
Fixes #9442
2018-02-21 17:03:38 -08:00
Brian Cain
b8d8cf7572
Merge pull request #9456 from briancain/exit-if-hyperv-enabled-vbox
...
Exit if Hyper-V is enabled and VirtualBox provider is used
2018-02-14 08:49:06 -08:00
Brian Cain
279bceffb9
Merge pull request #9398 from drscream/smartos-inheritance-solaris
...
More explicit Solaris 11 and inherit SmartOS from Solaris
2018-02-12 15:02:30 -08:00
Hannes Körber
3082ea502e
Debian: Point hostname to 127.0.1.1 in /etc/hosts
...
Closes #9403
2018-02-10 20:54:51 +01:00
Brian Cain
a1932b8d21
Merge pull request #9265 from trombik/atomic_interface_restart
...
Atomically apply new hostname.if(5)
2018-02-09 14:27:07 -08:00
Brian Cain
84f929df21
Merge pull request #9351 from gclinch/salt-bootstrap-in-tmp
...
Change to a temporary directory before downloading script files
2018-02-09 11:14:17 -08:00
Brian Cain
e8708232a5
( #9258 ) Exit if Hyper-V is enabled and VirtualBox provider is used
...
This commit adds a function on windows for the VirtualBox provider to
check if Hyper-V is enabled. If so, exit and display a warning to the
user that going forward will result in a system crash.
2018-02-08 11:20:41 -08:00
Hannes Körber
3fa3e995a9
Debian: Renew DHCP lease on hostname change
2018-02-01 16:46:23 +01:00
Ryan Walder
db457e6318
Add master_json_config & minion_json_config options to salt provisioner
...
* Allow use of -j/-J bootstrap options for configuring master/minion
2018-01-31 12:28:36 +00:00
Thomas Merkel
93c571adbf
Be sure solaris11 is Solaris version 11 and no distribution based on (Open)Solaris
...
`uname -sr` return also 5.11 on OmniOS, SmartOS which is not the same as Oracle Solaris 11.x. SmartOS and OmniOS are inherit from Solaris and not from Solaris 11. For that reason we need a more explicit check that a solaris11 guest is a real Solaris version 11, for that reason the /etc/release file is checked.
2018-01-25 13:28:15 +01:00
Thomas Merkel
21febf6b6a
SmartOS should be an inheritance of solaris
...
SmartOS is a distribution based on illumos which is the successor of OpenSolaris.
2018-01-25 13:26:18 +01:00
Chris Roberts
780673c6fe
Add warning message for VirtualBox shared folders option.
...
Display warning to user about the VirtualBox SharedFoldersEnableSymlinksCreate
option with link to VirtualBox documentation and instructions on how the
setting can be disabled.
2018-01-20 06:51:59 -08:00
Chris Roberts
f31badebb8
Merge pull request #9380 from chrisroberts/e-checkpoint
...
Update checkpoint integration
2018-01-19 15:06:28 -08:00
Chris Roberts
55460379f1
Merge pull request #9315 from basvandervlies/ifconfig_obsolete
...
ifconfig is replaced by ip command suite. So use "ip addr" and failback
2018-01-16 20:12:18 -08:00
Chris Roberts
0bf589861c
Merge pull request #9212 from mahaag/master
...
Use basename for setting hostname on Suse
2018-01-16 20:08:05 -08:00
Chris Roberts
b5383cffab
Merge pull request #9369 from chrisroberts/e-generic-sensitive
...
Add Vagrantfile configuration option to register sensitive values
2018-01-16 20:05:37 -08:00
Chris Roberts
a51c6c8479
Merge pull request #9367 from chrisroberts/e-sensitive-prov
...
Allow hiding environment variable values in shell provisioner
2018-01-16 20:03:00 -08:00
Chris Roberts
933694d986
Merge pull request #9365 from chrisroberts/e-smb-cred-check
...
Check SMB credentials
2018-01-16 20:00:57 -08:00
Chris Roberts
58f66ac8ce
Add full checkpoint integration
2018-01-16 14:16:49 -08:00
Chris Roberts
f2f8bc2db5
Add Vagrantfile configuration option to register sensitive values
2018-01-15 07:23:47 -08:00
Chris Roberts
3664f1a627
Allow hiding environment variable values in shell provisioner
2018-01-12 17:33:47 -08:00
Chris Roberts
b1c38c282e
Support SMB mount option overrides
2018-01-12 17:23:00 -08:00
Chris Roberts
5444271268
Move SMB credentials validation into host capability
2018-01-12 16:55:35 -08:00
Lachlan Arthur
01bc2627be
Check SMB credentials before using them
2018-01-12 15:46:31 -08:00
Chris Roberts
b0fc6a06a1
Merge pull request #9294 from chrisroberts/e-smb
...
SMB synced folders enhancements
2018-01-12 15:02:08 -08:00
Chris Roberts
0ffec9cd6f
Include explicit start to ensure start
2018-01-12 14:25:37 -08:00
Chris Roberts
15393fb725
Merge pull request #9274 from chrisroberts/f-nfs-naming
...
Update NFS service name usage for linux hosts
2018-01-12 13:14:07 -08:00
Chris Roberts
53fbf67d9f
Merge pull request #9295 from mcandre/patch-2
...
recognize solaris alternatives
2018-01-12 13:11:16 -08:00
Chris Roberts
f5888a4200
Merge pull request #9307 from wink-y/amazon-perform
...
Modify the matching pattern of guest os for amazon linux
2018-01-12 13:08:01 -08:00
Brian Cain
5bf75dcfb3
Merge pull request #9338 from chrisroberts/fix-ubuntu17-networking
...
Update Debian guest configure networks
2018-01-10 10:11:47 -08:00
Brian Cain
b16ca2e384
Introduce flag for SharedFoldersEnableSymlinksCreate
...
Prior to this commit, the virtualbox synced folder option
`SharedFoldersEnableSymlinksCreate` was always enabled. This commit
introduces a config option and an environment variable which allows
users to configure the option globally or per synced_folder in their
Vagrantfile.
2018-01-09 14:33:24 -08:00
Graham Clinch
b384361cd2
Use the short flag for better cross-platform support
2018-01-09 17:58:20 +00:00
Graham Clinch
1c2929cd84
Change to a temporary directory before downloading script files, to avoid
...
leaving junk files in the working directory (probably ~vagrant)
2018-01-09 16:01:50 +00:00
Brian Cain
11ddd0136d
( #9044 ) Show all box providers in command outdated
...
Prior to this commit, when the `--global` flag was used with the
`vagrant box outdated` command, it would ignore box providers and not
inform the user of all outdated boxes. This commit fixes that by
displaying each box within the users environment, and includes the
provider of the box in the message.
2018-01-08 09:43:28 -08:00
Bas van der Vlies
de62baed6b
as requested change to test to command:`which`
2018-01-08 08:53:33 +01:00
Brian Cain
c9e5a22bff
( #9062 ) Deprecate :paranoid in favor of :verify_host_key
...
As of `net-ssh` version 4.2.0, the key :paranoid has been deprecated in
favor of using :verify_host_key. This commit updates Vagrants ssh config
to use the new key, and deprecates the use of :paranoid.
2018-01-05 10:02:45 -08:00
Brian Cain
9c4ef88b88
Merge pull request #8863 from michaeltlombardi/FullyQualifyHyperVCmdlets
...
Ensure Hyper-V cmdlets are fully qualified
2018-01-04 10:27:09 -08:00
Chris Roberts
913b5639e5
Do better handling given netmasks
2018-01-03 17:26:08 -08:00
Chris Roberts
a36a84c85a
Only apply netplan configuration if systemd is in use
2018-01-03 16:31:49 -08:00
Chris Roberts
2f3d165079
Remove version from darwin host custom mount options
2018-01-03 14:41:53 -08:00
Chris Roberts
75a03ff9e9
Update available debian networking options
2018-01-03 13:56:01 -08:00
Chris Roberts
572f341697
Include synced folder cleanup action within hyperv provider
2018-01-03 10:29:45 -08:00
Chris Roberts
abf74e3757
Expand existing and requested paths prior to comparison
2018-01-03 10:05:05 -08:00
Chris Roberts
6e4139acd3
Include configuration for smb synced folders
2018-01-03 09:40:52 -08:00
Chris Roberts
5b7714f542
Include macOS as valid host platform
2018-01-03 09:30:44 -08:00
Chris Roberts
3eeff59329
Use custom types and messages for errors
2018-01-02 14:36:28 -08:00
Chris Roberts
30dcd9a7e5
Only add/remove shares on windows when needed
2018-01-02 14:03:54 -08:00
Chris Roberts
24d962eb72
Swap usage of share name and id for consistent behavior
2018-01-02 14:03:34 -08:00
Chris Roberts
98ec1af30e
Add smb_start capability for darwin
2018-01-02 11:21:50 -08:00
Bas van der Vlies
a5deb20dcb
ifconfig is replaced by ip command suite. So use "ip addr" and failback
...
to ifconfig
2017-12-28 20:31:04 +01:00
winky
e99c47907f
Modify the matching pattern of guest os for amazon linux
2017-12-27 13:57:47 +09:00
eyJhb
12a6832151
Fixed hostonly matching not respecting :name argument
2017-12-25 20:49:35 +01:00
Chris Roberts
68439f6bac
Use sudo for sharing lists on darwin platform
...
On systems prior to high sierra the sharing binary
requires root user for access, so use sudo to get
full list output and inspect output.
2017-12-21 14:53:55 -08:00
Chris Roberts
2caf109a03
Mark passwords as sensitive within guest capabilities
2017-12-21 12:49:34 -08:00
Andrew Pennebaker
98eb8cef03
recognize solaris alternatives
...
As the Solaris project is dead, recognize that Solaris alternatives like DilOS and SmartOS feature a Solaris compatible kernel and capabilities.
2017-12-21 13:07:00 -06:00
Chris Roberts
88d2b3676f
Remove stale comments from helper scripts
2017-12-21 10:19:28 -08:00
Chris Roberts
61bfbade48
Remove raise error logic in windows smb capability
2017-12-21 09:55:19 -08:00
Chris Roberts
81cbdae62a
Make powershell error generalized
2017-12-21 09:55:19 -08:00
Chris Roberts
f89c6a37f9
Provide namespace to error class
2017-12-21 09:55:19 -08:00
Chris Roberts
5a607d9248
Clean up SMB related errors
2017-12-21 09:55:19 -08:00
Chris Roberts
00fa50c296
SMB enhancements
2017-12-21 09:55:19 -08:00
Chris Roberts
e85ef1655b
Always remove credentials file after mount attempts
2017-12-21 09:55:19 -08:00
Brian Cain
f046482cfb
[WIP] systemd networkd for debian guests
2017-12-20 16:42:51 -08:00
Brian Cain
b9581ed213
Merge pull request #9251 from briancain/9137/master/exit-0-destroy-not-created
...
Exit 0 if vagrant destroy finds no running vms
2017-12-20 16:42:36 -08:00
Michael T Lombardi
9e1d05641f
Ensure Hyper-V cmdlets are fully qualified
...
+ This disambuguates calls to the Hyper-V functions for the Hyper-V provider.
The ambiguity of some commands - such as `Get-VM` - causes the Hyper-V provider
to fail on systems where VMware PowerCLI is installed. This change ensures that
all calls to Hyper-V specific cmdlets or functions are prepended by `Hyper-V\`.
This ensures the correct cmdlet calls are being made.
+ Resolves #8862 .
2017-12-15 08:30:38 -06:00
Zachary Flower
4a4183398b
Add a clean error message for invalid IP addresses
2017-12-14 14:57:21 -07:00
Brian Cain
d4d4ed6473
( #9137 ) Exit 0 if vagrant destroy finds no running vms
...
This commit reverts the behavior of `vagrant destroy` to exit 0 if no
running vms were found when the destroy command is run.
2017-12-14 12:48:22 -08:00
Gilles Cornu
43bcf2aaf7
Merge pull request #9173 from hashicorp/gildegoma/fix-ansible-ask-sudo-pass-deprecation
...
Ansible Provisioner: Fix broken 'ask_sudo_pass' option
2017-12-14 21:46:23 +01:00
Chris Roberts
120722ab08
Update NFS service name usage for linux hosts
...
Provides simple nfs service name detection via systemd or sys-v. Defaults
are provided if no match is found. Service name is defined via method
allowing derivative guests to only need to provide an updated name.
2017-12-14 08:35:07 -08:00
Chris Roberts
3a5729015a
Add documentation entry for init command --template flag
2017-12-13 15:59:45 -08:00
Chris Roberts
0c40fd3161
Merge pull request #9202 from zachflower/vagrantfile_templates
...
Support for custom Vagrantfile templates
2017-12-13 15:54:06 -08:00
Chris Roberts
04e35784e7
Merge pull request #9205 from mcandre/patch-1
...
dragonflybsd: extend FreeBSD
2017-12-13 15:42:25 -08:00
Chris Roberts
b4444aeaab
Merge pull request #9245 from kallisti5/haiku-improvements
...
haiku: Improve capabilities. (public keys, halt)
2017-12-13 15:38:13 -08:00
Tomoyuki Sakurai
35d3be865f
Atomically apply new hostname.if(5)
...
This fixes an issue when the interface being configured is the
interface through which ssh traffic is forwarded.
In a complex scenario, one needs to disable the default interface for
NAT, and use other interface for ssh. In this case, when vagrant run
`ifconfig #{ifname} inet delete`, the second ifconfig that is supposed
to restore interface settings will never be called. This might be a rare
need, but it is also strongly recommended to use `netstart` when
reconfiguring interfaces after updating `hostname.if(5)`.
The issue can be triggered when ssh connection has issues between two
`ifconfig` commands.
2017-12-13 18:34:17 +09:00
Andrew Hardy
ad0a47bedf
Removed rogue $ from string in hyperv import.rb
2017-12-10 11:09:49 +10:00
Brian Cain
a724a19a5d
Merge pull request #8992 from BenjaminSchiborr/fix/master/fix_salt_windows_bootstrap
...
provisioners/salt: Fixes timeout issue in salt bootstrapping for windows
2017-12-07 11:27:55 -08:00
Alexander von Gluck IV
263a2c4d9b
haiku: Improve capabilities. (public keys, halt)
2017-12-05 18:19:15 -06:00
Brian Cain
c3a4f8d72a
Merge pull request #7805 from kallisti5/master
...
Add support for the Haiku operating system
2017-12-05 14:03:43 -08:00
Matthias Haag
a139dd2b59
use basename for setting hostname
2017-11-22 11:09:51 +01:00
Andrew Pennebaker
2b87d12925
dragonflybsd: extend FreeBSD
...
Reuse FreeBSD guest code for installing rsync, etc., as dragonfly- and freebsd are very similar, especially with regard to package management.
2017-11-19 19:41:25 -06:00
Zachary Flower
abb1149190
Raise an exception when the template cannot be found, and update tests accordingly
2017-11-17 12:20:03 -07:00
Zachary Flower
14d596f08e
Add --template option to init command, with graceful fallback to default Vagrantfile template behavior
2017-11-17 11:30:10 -07:00
Gilles Cornu
e47deb7fd0
ansible: Fix broken 'ask_sudo_pass' option
...
This bug (invalid method call) hasn't been caught by unit tests because
Vagrant::Plugin::V2::Config catches all invalid/bad configuration calls
and save them for generating error messages during the "validate" stage.
This way, the `ask_sudo_pass=(value)` method was not interrupted and the
`@ask_become_pass` attribute was (surprisingly) correctly set (allowing
the related unit tests to pass).
In order to avoid similar problem to happen again, the deprecation
message output is now fully verified.
2017-11-09 18:17:04 +01:00
Justin Campbell
40d8dc4582
Add app.vagrantup.com to allowed auth hosts
...
This should allow users setting VAGRANT_SERVER_URL to app.vagrantup.com to authenticate to private boxes.
2017-11-07 10:35:16 -05:00
Justin Campbell
c5266e98b8
Change allowed auth hosts to list
2017-11-07 10:32:33 -05:00
Benjamin Schiborr
ee800cc7c2
provisioners/salt: #8991 : Break if success
...
This commit ensures that we actually break when the download was
successful. Before it tried to download again for every iteration of the
loop. In addition the number of iterations have been increased. I've
experienced timeouts on third retry. Increasing to 5.
2017-11-06 13:56:11 -08:00
Brian Cain
8be2ae8e6a
Add unit test for destroy command
2017-11-01 15:30:59 -07:00
Brian Cain
d8bffd201f
Add delay for parallel destroy without force, restructure state checking
...
This commit adds better messaging to the user if the parallel flag is
used without the force flag. It also makes the state checking based on
the delta between the initial and final states of the guests due to the
fact that there is no guarantee what the "destroyed" state id will be
between providers.
2017-10-31 13:52:07 -07:00
Brian Cain
2d7858ff8a
Introduce parallel destroy for certain providers
...
This commit introduces parallel destroy using the batch action class for
the destroy command.
2017-10-31 11:29:40 -07:00
Adam Bolte
511fac8162
Attempt fetching salt bootstrap script with wget
...
On Debian installations, wget is installed even into the most minimal
environment. Even Python support on Debian cannot be guaranteed if
Standard System Utilities was not selected at installation time (or if
debootstrap was used), which is why the retrieved bootstrap-salt.sh
script takes care of installing it prior to installing Salt.
2017-10-26 13:41:40 +11:00
Brian Cain
c7ec0a42a5
( #8941 ) Include WinSSH Communicator
...
This commit requires the winssh communicator class wihtin the public_key
capability for Windows. Prior to this commit users could run into a
situation where Vagrant would check if the machine could speak in WinSSH
and fail on an uninitialized constant.
2017-10-24 12:02:01 -07:00
Chris Roberts
fc7d2a3097
Merge pull request #8921 from lookfwd/fix_8608
...
fix for issue #8608/Windows hosts
2017-10-23 16:58:39 -07:00
Chris Roberts
eaa518159c
Merge pull request #8997 from bshurts/fix/winrm-apipa
...
Adding check for APIPA in winrm helper to fix #8996
2017-10-23 16:47:32 -07:00
Chris Roberts
6eca74afc7
Merge pull request #9012 from benh57/winssh_communicator_fix
...
Fix guest network setup with winssh communicator
2017-10-23 15:41:53 -07:00
Vít Ondruch
7187e6f909
Use Integer instead of Fixnum for Ruby 2.4+ compatibility.
2017-10-23 10:57:36 -07:00