vagrant/test/unit
Mitchell Hashimoto 96ebd3e8f7 Providers can support multiple box formats if they choose to.
Currently, providers must match a box format exactly the same
as that provider's name. i.e. the virtuabox provider needs a
"virtualbox" box and the "vmware_fusion" provider needs a
"vmware_fusion" box. Now, the provider can specify what the box format
is they want and support multiple if wanted.

Other box formats are specified in the provider definition within
a plugin:

    class Plugin < Vagrant.plugin("2", "provider")
      # ... other stuff

      provider("foo", box_format: ["virtualbox", "other_format"]) do
        # .. same
      end
    end

Now when using the example "foo" provider above, boxes for both
"virtualbox" or "other_format" are searched for. If both are found,
the order in which the formats exist determines precedence.
2013-04-06 18:21:16 -07:00
..
support vagrant box add --force works again [GH-1413] 2013-03-13 21:20:25 -07:00
vagrant Providers can support multiple box formats if they choose to. 2013-04-06 18:21:16 -07:00
base.rb Create a "dummy" provider for tests 2012-12-23 16:29:24 -08:00
vagrant_test.rb Be smarter about determining if plugin load failed 2013-02-22 15:10:34 -08:00