Max Lincoln
e07f229f6e
Merge branch 'master' of github.com:mitchellh/vagrant into winrmssl
2015-01-20 16:00:20 -05:00
Seth Vargo
39233e802f
Validate pushes in the global config
2015-01-07 15:51:20 -05:00
Seth Vargo
d2874064f4
Use .key? instead of .has_key?
2015-01-05 18:29:01 -05:00
Mitchell Hashimoto
4efb401050
kernel/v2: push config keys on strategy
...
/cc @sethvargo - This adds more tests that fail if this change isn't in
place.
2014-12-14 22:24:14 -08:00
Seth Vargo
214a79e057
Pushes are hashed by name, not strategy.
...
@mitchellh this is a partial revert of 84ae22e
. It took me a little bit
to figure out why this broke everything, but then I finally realized it.
84ae22e
changes the finalize! function to lookup pushes by strategy
type, but pushes are keyed by push strategy name. In other words, given:
config.push.define("foo", strategy: "bar")
the `push_configs` has will look like:
{ :foo => [:bar, #<PushConfig>] }
This is important, because if we key by strategy, the user cannot
specify the same push strategy more than once:
config.push.define("foo", strategy: "bar")
config.push.define("zip", strategy: "bar")
If we keyed off of the strategy, this would be impossible.
2014-12-14 23:32:32 -05:00
Mitchell Hashimoto
84ae22e976
kernel/v2: fix push strategy config lookup
2014-12-12 01:36:39 -08:00
Max Lincoln
3e8fdc0ca4
WinRM SSL support
2014-12-11 15:07:34 -05:00
Seth Vargo
9af7675bd3
Use a more readable version for setter
2014-12-08 11:35:11 -08:00
Seth Vargo
411c7d6f75
Define finalize! and __compiled_pushes for Push config
2014-12-08 11:35:11 -08:00
Seth Vargo
03b8105571
Super primitive implementation of Environment#push
2014-12-08 11:35:10 -08:00
Mitchell Hashimoto
6ea8dc8e20
core: cleaner output of what provisioner is running if named
2014-10-23 18:47:03 -07:00
Mitchell Hashimoto
97f9948fce
core: provisioners are defined differently now
2014-10-23 18:40:14 -07:00
Mitchell Hashimoto
ad758bf69a
core: prefer providers in the Vagrantfile [GH-3812]
2014-10-23 15:32:54 -07:00
Matt Wrock
461f6f1281
do not automatically add /vagrant synced folder if another folder is already assigned to current path
2014-10-20 23:13:13 -07:00
Mitchell Hashimoto
8655d212c3
kernel/v2: always forward SSH [GH-4437]
2014-09-04 14:19:47 -07:00
Mitchell Hashimoto
a53156e426
core: don't allow '/' in VM name [GH-4289]
2014-08-11 09:21:31 -07:00
Mitchell Hashimoto
b675be383b
core: disallow brackets in VM names [GH-4319]
2014-08-10 21:05:29 -07:00
Franz Pletz
6def193567
Add config.vm.box_server_url setting
...
This commits adds a new config setting `config.vm.box_server_url` to set
the URL of a local VagrantCloud instance in the Vagrantfile. If the
environment variable `VAGRANT_SERVER_URL` is set, it will still be
preferred.
2014-08-01 14:38:55 +02:00
Kalman Hazins
bb052366f7
Change symbols inside hashes to 1.9 JSON-like syntax
2014-05-22 12:35:12 -04:00
Mitchell Hashimoto
07dbe40e98
Merge pull request #3848 from shtouff/feat-capath
...
added capath option to curl Downloader
2014-05-20 20:50:26 -07:00
Mitchell Hashimoto
f94b902023
kernel/v2? more clever: default port to guest port
2014-05-20 20:31:53 -07:00
Mitchell Hashimoto
8856bab04b
kernel/v2: default SSH port to 22
2014-05-20 20:31:14 -07:00
Rémi Paulmier
00a2670406
added capath option to curl Downloader
2014-05-19 18:08:23 +02:00
Mitchell Hashimoto
72de106c8f
Update CHANGELOG
2014-05-17 12:21:12 -07:00
YungSang
2c688fda16
Set disabled even if no disabled option
...
to override the previous settings
2014-05-13 15:07:23 -07:00
Mitchell Hashimoto
a9029842a6
kernel/v2: multiple synced folder lines override each other
2014-05-08 18:39:13 -07:00
Mitchell Hashimoto
434a13b4e4
kernel/v2: automatically forward winrm if comm is winrm [GH-3685]
2014-05-08 17:00:55 -07:00
Mitchell Hashimoto
1ae99e3a2e
kernel/v2: convert network type to symbol earlier
2014-05-08 13:38:40 -07:00
Mitchell Hashimoto
338328fa15
kernel/v2: hostnames can be one character [GH-3713]
2014-05-08 09:10:13 -07:00
Brian Pitts
9f62216f87
Remove check for nfs in config
2014-05-03 16:10:01 -05:00
Mitchell Hashimoto
7ee9b7cd42
kernel/v2: make sure communicator is a symbol
2014-04-21 13:56:41 -07:00
Mitchell Hashimoto
bad6537e86
kernel/v2: provider configs do proper merge logic for config
2014-04-21 13:56:14 -07:00
Mitchell Hashimoto
61ffa53134
kernel/v2: boxes can be optional if a provider says so
...
/cc @fgrehm - For the DOcker provider, we can now make boxes optional. :)
No more dummy boxes!
2014-04-21 13:53:03 -07:00
Mitchell Hashimoto
316aaa69fe
kernel/v2: box setting should be new-style
2014-04-21 13:53:01 -07:00
Mitchell Hashimoto
485422640e
core: delete the preserve_order option so it doesn't invalidate
2014-04-21 13:52:31 -07:00
Mitchell Hashimoto
aad8e7f80d
core: provision "once" or "always" [GH-2421]
2014-04-21 13:52:30 -07:00
Mitchell Hashimoto
f6fb9016a1
core: can specify a "post_up_message" [GH-1968]
2014-04-21 13:52:28 -07:00
Mitchell Hashimoto
40d89cf5ea
kernel/v2: configurable communicator (doesn't do anything yet)
2014-04-21 13:51:01 -07:00
Mitchell Hashimoto
20473fe4ca
core: allow overriding default SSH port [GH-3474]
2014-04-15 10:37:08 -07:00
Mitchell Hashimoto
541ebd8935
kernel/v2: clear ID field so its not passed to provisioner [GH-3424]
2014-04-10 08:42:11 -07:00
Mitchell Hashimoto
d1caf8c624
core: Allow direct box adding again
2014-04-02 19:45:49 -07:00
Mitchell Hashimoto
3302bd535f
kernel/v2: check if type is set before validation
2014-04-02 15:19:36 -07:00
Mitchell Hashimoto
84f7c019f9
kernel/v2: allow private network type to be a string [GH-3349]
2014-04-01 21:57:23 -07:00
Paulo Bittencourt
1f694d4978
kernel/v2: allow provisioner plugins to register without config
2014-03-19 17:37:52 -04:00
Mitchell Hashimoto
012c28606f
kernel/v2: validate forwarded ports [GH-3187]
2014-03-13 08:32:05 -07:00
Mitchell Hashimoto
75dcc828ad
kernel/v2: fix error where options could be not hash
2014-02-18 10:41:14 -08:00
Mitchell Hashimoto
12b2572687
kernel/v2: capture error if provider config is bad [GH-2959]
2014-02-11 11:55:04 -08:00
Mitchell Hashimoto
848fe5d166
kernel/v2: check for box updates by default
...
/cc @pearkes @armon
2014-02-05 21:20:33 -08:00
Mitchell Hashimoto
b5157df2cc
core: BoxCheckOutdated only runs if told to
2014-02-05 21:20:14 -08:00
Mitchell Hashimoto
d40ff9c390
kernel_v2: test for box_url
2014-02-05 21:20:01 -08:00