vagrant/test/unit/plugins/provisioners
Gilles Cornu 8190fba872 provisoners/ansible: improve config test coverage
Changes:

- Add "config" unit tests for `ansible_local` (guest)
- Share some "config" examples between both ansible provisioners
- Move `config_host.rb` specific examples to `config/host.rb`
- Add a requirement to "../helpers" in `config/guest.rb` in order to be
  able to run the related unit tests

References:

- This is the first part of GH-6633 resolution
- This change is a handy prerequisite for GH-6570

Not addressed yet:

- FIXME (guest.rb): Some test-double stubs are currently not working as
  expected, and the related checks are commented out for the moment
  (no idea why, but this is not urgent to be fixed because of GH-7335
  rejection. See also GH-6984)
- FIXME (shared.rb): The guest-based config should actually NOT return
  an error when the extra_vars file cannot be found, but only display a
  a warning (similarly to the changes done for GH-6763, see 4e451c6)
2016-05-29 17:01:37 +02:00
..
ansible provisoners/ansible: improve config test coverage 2016-05-29 17:01:37 +02:00
chef Use hostname if no node_name is set 2016-03-17 20:15:11 -05:00
docker Deprecate docker.version 2015-11-19 18:37:57 -08:00
file provisioners/file: validate source relative to Vagrantfile path 2015-07-06 14:22:00 -06:00
salt provisioners/salt: deprecate config_dir 2015-11-18 11:56:07 -08:00
shell Fix test 2015-11-23 19:35:03 -05:00
support/shared provisioners/ansible: introduce ansible_local 2015-11-08 10:42:48 +01:00