Gilles Cornu
b723f0d43d
provisioners/ansible: Document new default limit
...
- explain new default ansible.limit
- shift `ansible.groups` part to Inventory section
- change/add inventory examples
2014-02-03 11:45:03 +01:00
Gilles Cornu
466cf58476
ansible generated inventory: skip group variables
...
Except ':children' for groups of groups, it is safer to avoid generating
':suffix' blocks. At the moment Ansible only supports (but doesn't
recommend) group variables (:vars), and the Vagrant Ansible provisioner
won't support this way to define variables.
2014-02-02 23:28:04 +01:00
Gilles Cornu
f564bf7410
Ansible Groups: Accept single item as String
...
Syntax errors in `ansible.groups` definition are not well handled:
Error returned: undefined method `each' for "machine1":String (NoMethodError)
Being tolerant here doesn't hurt and may avoid people get
confused/annoyed.
2014-02-02 23:21:06 +01:00
Gilles Cornu
84308964e2
ansible generated inventory: deal with orphan VMs
...
env.active_machines can potentiall return 'invalid' machines:
- Ignore machines that are not declared in current Vagrantfile
- Warn when machines are missing (it usually occurs when the VM is
removed without `vagrant destroy` and some orphan metadata remains
in .vagrant/machines/...)
2014-02-02 23:06:27 +01:00
Mark Aaron Shirley
3bf5032d4b
Update Ansible provisioner to only create a single inventory file
...
The Ansible provisioner will now only create a single inventory file named,
"vagrant_ansible_inventory". All defined Vagrant machines will be added to
this inventory file. Provisioning will now include a "--limit=#{machine}"
option to scope Ansible provisioning tasks to just the current machine. Setting
the Ansible provisioner's "limit" config option will override the new default
limit. Ansible provisioning scripts will now have access to all other defined
machines and what groups they reside in.
2014-02-01 13:04:20 -08:00
Mitchell Hashimoto
bc55081e9f
core: execute the specified Vagrant executable in pre-rubygems.rb
2014-02-01 16:28:45 +01:00
Mitchell Hashimoto
24a03de8bf
core: Only load default and plugin Bundler groups to avoid dev deps
2014-01-31 16:42:53 +01:00
Mitchell Hashimoto
8cc7d00314
website/docs: fix typo [GH-2876]
2014-01-27 09:39:04 -08:00
Mitchell Hashimoto
83b22de944
Merge pull request #2888 from obfusk/fix-mktmpdir
...
core: Clean up temp dir used by fs_case_sensitive?
2014-01-27 09:26:43 -08:00
Mitchell Hashimoto
6cd79d67da
Merge pull request #2896 from mitchellh/f-provider-caps
...
Provider Capabilities
2014-01-26 14:37:15 -08:00
Mitchell Hashimoto
78e7e2746f
core: fix machine tests with provider changes
2014-01-26 14:33:22 -08:00
Mitchell Hashimoto
a924a7b48c
core: provider capabilities
2014-01-26 14:15:06 -08:00
Felix C. Stegerman
5c3555b56b
Clean up temp dir used by fs_case_sensitive?
2014-01-25 04:57:52 +01:00
Mitchell Hashimoto
0e9cac5b07
core: clear line with \033[K
2014-01-23 13:22:10 -08:00
Mitchell Hashimoto
00530303fb
core: color success Ui green
2014-01-23 13:15:07 -08:00
Mitchell Hashimoto
09955be2cd
provisioners/docker: configure auto start properly for new Docker
...
[GH-2874]
2014-01-21 20:52:27 -08:00
Mitchell Hashimoto
2b9e7ca14e
core: merge default synced folders ,don't override [GH-2873]
2014-01-21 20:13:08 -08:00
Mitchell Hashimoto
e80552b6aa
core: if synced folder type is blank, use default
2014-01-21 20:10:32 -08:00
Mitchell Hashimoto
d81af187ea
core: add tests for MachineReadable and frozen strings
2014-01-21 12:13:54 -08:00
Mitchell Hashimoto
06f1ebf752
core: add more tests for MachineReadable UI
2014-01-21 12:11:53 -08:00
Mitchell Hashimoto
f2f58655e8
core: get rid of more references to scope, old terminology
2014-01-21 12:06:04 -08:00
Mitchell Hashimoto
26366d0673
core: remove BasicScope class, not used anymore
2014-01-21 12:04:32 -08:00
Mitchell Hashimoto
7e9ea7c1c6
hosts/redhat: recognize Korora [GH-2869]
2014-01-21 09:50:20 -08:00
Mitchell Hashimoto
a32e154e6e
core: use cleaner UI abstractions
2014-01-20 17:18:36 -08:00
Mitchell Hashimoto
fc86a10796
core: only bold when output is part of a machine
2014-01-20 16:37:06 -08:00
Mitchell Hashimoto
714c690d8b
Merge pull request #2857 from mitchellh/f-ui-revamp
...
UI revamp
2014-01-20 16:22:36 -08:00
Mitchell Hashimoto
e1f5c025fd
website/www: blog posts on Vagrant stability
2014-01-20 12:43:04 -08:00
Mitchell Hashimoto
3c0b7d0b2b
Update CHANGELOG
2014-01-19 23:36:49 -08:00
Mitchell Hashimoto
838f8d441b
website/docs: clarify upgrade breakage is a bug
2014-01-19 23:36:12 -08:00
Mitchell Hashimoto
ab9a79e378
Merge pull request #2861 from morrizon/machine_readable_issue
...
commands/box-list: dup string if frozen when formatting output for machine.
2014-01-19 09:04:41 -08:00
Carlos López
8d1cc513ec
Fixed: dup string if frozen when formatting output for machine.
2014-01-19 14:34:32 +00:00
Mitchell Hashimoto
64649f8f1d
guests/coreos: restart etcd after configuring networks [GH-2852]
2014-01-18 11:05:29 -08:00
Mitchell Hashimoto
fbd8cfc628
hosts/gentoo: more robust check for systemctl path on Gentoo
2014-01-18 11:03:46 -08:00
Mitchell Hashimoto
663a942a93
Update CHANGELOG
2014-01-18 11:01:53 -08:00
Mitchell Hashimoto
c9a718d5c2
Merge pull request #2858 from timgus/gentoo_systemctl
...
hosts/gentoo: fix nonstandard path to systemctl command
2014-01-18 11:00:57 -08:00
Mitchell Hashimoto
3f62addac2
core: make output white for now
2014-01-17 21:53:17 -08:00
Mitchell Hashimoto
0eec9aa599
core: extensive tests for Vagrant::UI classes
2014-01-17 21:31:07 -08:00
Tim Gus
f0ec355a33
hosts/gentoo: fix nonstandard path to systemctl command
2014-01-18 00:13:54 -05:00
Mitchell Hashimoto
ac2ca2537d
core: Ui color should be red on errors, yellow on warnings
2014-01-17 21:03:05 -08:00
Mitchell Hashimoto
1b8f1a3864
core: convert more output to `output` method
2014-01-17 21:03:04 -08:00
Mitchell Hashimoto
f713e43b00
Fix tests for new UI methods
2014-01-17 21:03:02 -08:00
Mitchell Hashimoto
ea77194384
providers/virtualbox: more detailed output
2014-01-17 21:03:01 -08:00
Mitchell Hashimoto
5b449c8000
providers/virtualbox: many `detail` level output
2014-01-17 21:03:00 -08:00
Mitchell Hashimoto
b557ee5625
core: align text and make sure its all lined up with prefixes
2014-01-17 21:02:59 -08:00
Mitchell Hashimoto
f3d102e069
core: colorize VM output for each VM in a command
2014-01-17 21:02:58 -08:00
Mitchell Hashimoto
afbed7e816
core: add output/detail methods to Ui, prefix with arrows
2014-01-17 21:02:57 -08:00
Mitchell Hashimoto
41e56cb282
Update dep of ChildProcess to 0.4.0
...
This fixes some critical bugs with Windows
2014-01-17 20:34:58 -08:00
Mitchell Hashimoto
06123f9fc8
core: cleaner output when running outside installer
2014-01-17 10:39:36 -08:00
Mitchell Hashimoto
a0f2ca5e8b
core: clarify some logic for colors
2014-01-17 10:29:20 -08:00
Mitchell Hashimoto
8a12bf8694
Merge pull request #2851 from BlackIkeEagle/reload-nfs-exports
...
guests/linux: use exportfs -a flag to avoid stale exports
2014-01-17 09:57:13 -08:00