Commit 51735cc8 authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

post-processor/vagrant: fix alternate providers

parent 8d963501
......@@ -208,8 +208,14 @@ func (p *PostProcessor) configureSingle(config *Config, raws ...interface{}) err
func providerForName(name string) Provider {
switch name {
case "aws":
return new(AWSProvider)
case "digitalocean":
return new(DigitalOceanProvider)
case "virtualbox":
return new(VBoxProvider)
case "vmware":
return new(VMwareProvider)
default:
return nil
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment