Kamjar Gerami
b7e9437a77
#3539 - Fixed syntax, language and logic according to comments made by reviewer in PR #6639
2015-12-04 10:05:07 +01:00
Kamjar Gerami
f5f568b66b
Added plain Symbol group name for unit test
2015-12-04 02:16:01 +01:00
Kamjar Gerami
af6a80472e
#3539 - Can't use alphanumeric patterns for box names in ansible.groups: added unit test for host range patterns
2015-12-04 01:26:04 +01:00
Gilles Cornu
8517014a99
provisioners/ansible: update inventory groups tests
...
With the introduction of inventory variables, group members provided as
String are not splitted (by ' ') into an array (instead of
auto-conversion to a single-item array).
2015-12-03 09:39:12 +01:00
Gilles Cornu
9867281971
provisioners/ansible: allow symbol in `groups` key
...
After c49a146467
, it makes even more sense
to support Symbol datatypes in `groups` option handling.
2015-12-03 09:34:53 +01:00
Gilles Cornu
3dbcf5083c
provisioners/ansible(both) add more unit tests
...
Improve the test coverage of 'get_inventory_host_vars_string' method.
2015-12-02 08:42:44 +01:00
Gilles Cornu
c49a146467
provisioners/ansible(both): alias String-to-Symbol
...
String and Symbol types are different when used as a Hash key. By
default the Vagrant machine names are set in Symbol format, but users
may write their `host_vars` entries with String keys. This is a very
simple way to ensure smooth experience, without having to coerce the
data types during the config validation (e.g. with a library like
Hashie, which is currently not in the Vagrant dependencies)
See also:
- https://bugs.ruby-lang.org/issues/5964#note-17
- https://github.com/intridea/hashie#keyconversion
2015-12-02 08:37:41 +01:00
Christian Henz
a5dd61c450
Added test to expect host vars being inserted into inventory.
2015-12-01 18:56:28 +01:00
Christian Henz
3fbbfeb862
Expect group variables to be inserted in the test.
2015-12-01 18:56:28 +01:00
Gilles Cornu
eaf918ec35
Merge branch 'gildegoma/5086-ansible-winrm' into master
2015-11-25 22:46:08 +01:00
Seth Vargo
1bb9a48ae7
Fix cap test
2015-11-24 16:41:13 -05:00
Seth Vargo
3502042d96
Lol whitespace [ci skip]
2015-11-24 16:36:36 -05:00
Seth Vargo
050f8d4d71
Allow specifying the guest port search
2015-11-24 16:33:09 -05:00
Seth Vargo
beb84d3212
Move to I18n
2015-11-24 16:33:09 -05:00
Seth Vargo
063f60e593
Add `vagrant port` command
2015-11-24 16:33:08 -05:00
Seth Vargo
bd48d24825
Respect proxy envvars for login command
2015-11-23 20:19:45 -05:00
Seth Vargo
8f420837a4
Escape identify file path
2015-11-23 20:00:12 -05:00
Seth Vargo
eaf0aeb210
Fix test
2015-11-23 19:35:03 -05:00
Seth Vargo
930e166b47
Add :env option to shell provisioner
2015-11-23 19:29:35 -05:00
Seth Vargo
844cca9013
Skip nil IP addresses in ipv6 fix
...
Fixes GH-6558
2015-11-23 17:20:20 -05:00
Seth Vargo
7b89ecc230
Add public_address cap for VirtualBox
...
Fixes GH-5978
2015-11-23 16:23:22 -05:00
Mitchell Hashimoto
2875928b76
remove failing test that was brittle
2015-11-23 12:11:48 -08:00
Gilles Cornu
68d9708ca7
kernel/v2: fix a bug in WinRM port forwarding
...
Without this change a custom "winrm-ssl" port forwarding rule
could be wrongly shadowed in absence of a "winrm" custom rule.
2015-11-23 18:51:12 +01:00
Gilles Cornu
e4ff8ee398
provisioners/ansible: fix a typo in rspec example
...
[ci skip] good morning @gildegoma!!!
2015-11-23 09:12:56 +01:00
Gilles Cornu
ef66098472
provisioners/ansible: fix a typo in rspec example
...
[ci skip]
2015-11-23 09:10:28 +01:00
Gilles Cornu
de96b54272
provisioners/ansible: full test coverage of winrm
...
At the moment, the vagrant ssh username is used as default username when
force_remote_user option is disabled, even for winrm-communiating
machines. This could be improved in the future, but people hitting this
problem can easily work around it by syncing `config.ssh.unsername` and
`config.winrm.username` in their Vagrantfile.
ref #5086
2015-11-23 09:05:36 +01:00
Gilles Cornu
e2f0d2ebb7
provisioners/ansible: add a unit test for winrm
...
ref #5086
2015-11-22 20:48:21 +01:00
Gilles Cornu
2789ce61e0
Merge branch 'gildegoma/2718-ansible-galaxy' into master
2015-11-21 05:21:41 +01:00
Mitchell Hashimoto
e1f8b0d9c0
more passing tests on Windows
2015-11-20 15:24:51 -08:00
Mitchell Hashimoto
685f6d7e19
ansible tests passing on Windows
2015-11-20 15:13:35 -08:00
Seth Vargo
f5a0c3ed5b
Deprecate docker.version
2015-11-19 18:37:57 -08:00
Seth Vargo
20940d1a2f
Use subprocess as a poor-man's exec for local-exec
...
Fixes GH-5307
2015-11-19 17:03:39 -08:00
Mitchell Hashimoto
1ccd91aada
Merge pull request #4473 from rtkrruvinskiy/https_metadata
...
Add HTTPS download options to `box update` and `box outdated`
2015-11-19 16:16:48 -08:00
Seth Vargo
df207d2637
Require nodes_path for Chef Zero provisioning
...
Fixes GH-6110
2015-11-19 15:52:26 -08:00
Seth Vargo
c30467a6f9
Allow Chef to install on Windows
2015-11-19 15:01:09 -08:00
Seth Vargo
a90e6cfe4c
Use the new Chef installation channel and options
...
This deprecates "prerelease", which will be removed in the next release.
2015-11-19 14:57:01 -08:00
Seth Vargo
b8f200a4c1
Only force the formatter if we are on Chef 11 or higher
...
Fixes GH-6278
2015-11-19 11:48:04 -08:00
Seth Vargo
9559fc549c
Automatically generate a node_name for Chef
...
This is required because the Chef Server almost always needs a node name to
interact. This will default to the hostname, but that's always going to be
`vagrant.vm`, which will collide easily.
This generates a random hostname with `vagrant-` as the prefix and stores the
result in the machine's data directory.
2015-11-19 11:38:33 -08:00
Mitchell Hashimoto
f5273c5409
push/heroku: use correct current branch [GH-6123]
2015-11-19 11:17:48 -08:00
Seth Vargo
c1623ee740
Fix port collision in tests
2015-11-18 18:47:19 -08:00
Seth Vargo
a0c049da00
Fix tests
2015-11-18 18:32:46 -08:00
Mitchell Hashimoto
0e32612324
fix more tests
2015-11-18 17:13:47 -08:00
Mitchell Hashimoto
c76e45a75a
fix some tests
2015-11-18 17:11:05 -08:00
Seth Vargo
244069d5d7
Merge pull request #6049 from bdwyertech/bdwyertech-patch-2
...
Chef Zero - Fix 'nodes_path' Support
2015-11-18 16:46:02 -08:00
Mitchell Hashimoto
da116bffec
fix syntax error
2015-11-18 15:57:58 -08:00
Mitchell Hashimoto
d657804f18
Merge branch 'master' of https://github.com/matthewcodes/vagrant into matthewcodes-master
2015-11-18 15:09:47 -08:00
Seng Lin Shee
f1647ddea6
Fixed unit test.
...
Command is now wrapped in more PowerShell scripts, changing its final encoded value.
2015-11-18 13:53:17 -08:00
Mitchell Hashimoto
d3bcc4e5f9
Merge pull request #6213 from jrob/winrm-execution-timeout
...
Winrm execution timeout
2015-11-18 13:00:59 -08:00
Mitchell Hashimoto
e6098f6c4f
rename to powershell_elevated_interactive
2015-11-18 12:51:18 -08:00
Mitchell Hashimoto
37940e7350
Merge pull request #6185 from marc-ta/elevated_interactive
...
Elevated interactive
2015-11-18 12:46:39 -08:00