Gilles Cornu
709f3f4e6f
provisioners/ansible: Change --limit behaviours
...
- The implicit default limit is always set
- ansible.limit as an empty string won't disable the default limit, but
will be passed as "--limit=" argument and ansible-playbook will return
an error (provided host list is empty)
2014-02-16 11:39:15 +01:00
Gilles Cornu
c2663f5d30
provisioners/ansible: Fix Group Management
...
- Support arbitrary depth of "groups of groups of ... groups"
- Skip ':vars' suffix, but allow group names with ':' (yes, Ansible
accepts this character)
- Like for groups of machines, groups of groups can result "empty", but
it is not an issue for Ansible. Recursive filter on the group tree is
a bit hard to implement, and don't brind real added value at Vagrant
level.
2014-02-16 11:20:00 +01:00
Teemu Matilainen
ad34d474bc
provisioners/chef: DRY and unify encrypted data bag secret handling
...
Pull up encrypted data bag secret management into the base classes, thus
also unifying the functionality.
Especially this complements the issues:
* Upload the secret to provisioning path also with chef-solo [GH-1246]
* Delete the secret also with chef-client [GH-2712]
* Remove the secret before uploading also with chef-client [GH-1111]
2014-02-15 22:46:48 -03:00
Mitchell Hashimoto
4f89bdb947
core: disable parallelization if only one action
2014-02-15 16:37:27 -08:00
Mitchell Hashimoto
4e90aa7824
core: copy all sub-directories in a box properly
...
This avoids an Errno::EACCES on windows, although I'm really unsure why.
2014-02-15 15:55:33 -08:00
Mitchell Hashimoto
9960137d33
Merge pull request #2985 from eugeneware/latest_coreos_support
...
guests/coreos: detect latest version.
2014-02-15 10:13:14 -08:00
Eugene Ware
85d2f24607
more robust coreos checking
2014-02-15 15:50:11 +11:00
Eugene Ware
2d01691e0a
detect latest version of coreos
2014-02-15 15:03:06 +11:00
Shane Gibbs
8e3dbce137
Add backwards compatibility for older versions of chef that do not support multiple role paths.
2014-02-15 11:09:06 +13:00
Mitchell Hashimoto
8c9fde41e9
provisioners/shell: clean up fixnum handling
2014-02-14 12:43:27 -08:00
Mitchell Hashimoto
3041ce1a7a
Merge pull request #2982 from ryanuber/shell_fixnum_args
...
provisioner/shell: shell provisioner fixnum args
2014-02-14 12:40:30 -08:00
Ryan Uber
a4e923bec7
Removed excess whitespace
2014-02-14 12:02:27 -08:00
Ryan Uber
fff4f595c5
Added unit test for passing a single fixnum as an argument to the shell
...
provisioner
2014-02-14 11:53:17 -08:00
Ryan Uber
509e29043a
Added handling of fixnum values for shell provisioner options both as the value
...
of `args` itself and as an element inside of an `args` array. Added validation
around passing in arrays for arguments. Just knowing that it is an array is not
enough, because arrays can contain any other type.
2014-02-14 11:47:36 -08:00
Shane Gibbs
5600bd1067
Add support for multiple role paths in chef-solo
2014-02-14 21:48:18 +13:00
Mitchell Hashimoto
a4f64d0148
core: ui can hide details
2014-02-13 21:09:02 -08:00
Mitchell Hashimoto
d0cd2464b2
providers/virtualbox: only clear forwarded ports if there are any
2014-02-13 21:04:56 -08:00
Mitchell Hashimoto
2fe2fe79ed
communicators/ssh: properly allow errors through while waiting
2014-02-13 21:04:41 -08:00
Mitchell Hashimoto
ed5e544e63
communicators/ssh: more verbose output about waiting for SSH
2014-02-13 20:59:26 -08:00
Mitchell Hashimoto
14b27ae215
communicators/ssh: cache ssh_info
...
This lowers the number of subprocesses with VirtualBox quite a bit.
2014-02-13 20:34:51 -08:00
Mitchell Hashimoto
d2d96a0726
core: keep process group for SSH childprocess
2014-02-13 16:45:45 -08:00
Mitchell Hashimoto
b1bed68bed
providers/virtualbox: cap to read forwarded ports
2014-02-13 16:34:34 -08:00
Mitchell Hashimoto
5fb64dfca2
core: use Process#wait since childprocess bug is fixed
2014-02-13 07:40:33 -08:00
Mitchell Hashimoto
7f534d839d
Up childprocess dep to 0.4.1
2014-02-13 07:40:28 -08:00
Mitchell Hashimoto
e909b91bfd
guests/linux: public key insertion is more robust
...
contents can have newlines (or not)
2014-02-12 22:11:33 -08:00
Mitchell Hashimoto
8bfb4bda2b
core: make sure any Subprocess exits no matter what
2014-02-12 21:35:54 -08:00
Mitchell Hashimoto
42fa0a6540
core: poll for process exit on SSH#exec with subprocess
2014-02-12 21:31:05 -08:00
Mitchell Hashimoto
79581df71b
core: chomp the version so we can echo into it
2014-02-12 15:01:12 -08:00
Mitchell Hashimoto
2c72c32df0
core: Modify Bundler settings to work with restricted permissions
...
This includes two changes:
1. Change the Vagrant requirement to use the "= VERSION" constraint.
The "path:" previously requires write permission in the directory
of the gemspec, which we don't have in installers.
2. Set a BUNDLE_APP_CONFIG and BUNDLE_PATH setting. By setting this,
Bundler won't ask for sudo password. Bundler never actually needs it;
it is just overly aggressive in thinking it does.
2014-02-12 14:24:17 -08:00
Mitchell Hashimoto
a350f80e2f
website/www: fix downloads
2014-02-12 11:52:18 -08:00
Mitchell Hashimoto
97f93dcf4a
website/www: force up the version
2014-02-12 11:46:20 -08:00
Mitchell Hashimoto
c148d8eca4
website/www: ignore the standalone archive page
2014-02-12 09:27:28 -08:00
Mitchell Hashimoto
0e3830932e
website/www: feature preview blog post: rsync
2014-02-12 08:52:14 -08:00
Mitchell Hashimoto
06a7c88316
core: HandleBox keeps the same machine instance
2014-02-11 16:06:03 -08:00
Mitchell Hashimoto
c280af0b9c
core: keep the same UI when handling a box URL
2014-02-11 16:03:25 -08:00
Mitchell Hashimoto
2550a76edb
core: Machine can set box
2014-02-11 13:31:50 -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
dd9dd5127c
Merge pull request #2948 from gnawhleinad/master
...
command/*: clean up usage
2014-02-10 09:02:32 -08:00
Mitchell Hashimoto
b6b8b97ccb
Update CHANGELOG
2014-02-10 08:58:42 -08:00
Mitchell Hashimoto
7e17f57191
Merge pull request #2950 from elyast/master
...
command/ssh-config: Fixing ssh_config, proxy_command is not included
2014-02-10 08:58:09 -08:00
Mitchell Hashimoto
27420ad2ee
Remove website/ dir from gem [GH-2951]
2014-02-10 08:56:45 -08:00
Lukasz Jastrzebski
654870a185
Fixing ssh_config proxy_command is not included
2014-02-09 16:27:32 -08:00
Mitchell Hashimoto
8d3afa73d2
providers/virtualbox: config to skip guest additions check
2014-02-08 18:35:09 -08:00
Mitchell Hashimoto
342fba8182
core: Ui::Prefixed values instance-level opts
2014-02-08 15:15:06 -08:00
Mitchell Hashimoto
e6ca9d6f81
core: Ui::Prefixed can take prefix_spaces option
2014-02-08 15:14:21 -08:00
Mitchell Hashimoto
2d7c161f49
core: Ui#dup works properly
2014-02-08 15:11:51 -08:00
Mitchell Hashimoto
9026e54da9
core: fix Environment tests
2014-02-08 14:54:40 -08:00
Mitchell Hashimoto
86454ddac9
core: Environment#lock tests
2014-02-08 14:50:52 -08:00
Mitchell Hashimoto
1e50e7aca1
core: Prefixed UI only requests bolding if not specified at instance-level
2014-02-08 14:26:26 -08:00
Mitchell Hashimoto
efc1bf50dd
core: Machine#with_ui
2014-02-08 14:03:31 -08:00