Last-Update: 2018-07-27
Forwarded: not-needed
Author: Dmitry Smirnov <onlyjob@debian.org>
Description: disable providers depending on non-packaged libraries.

--- a/discover.go
+++ b/discover.go
@@ -10,19 +10,12 @@
 	"sync"
 
 	"github.com/hashicorp/go-discover/provider/aliyun"
 	"github.com/hashicorp/go-discover/provider/aws"
-	"github.com/hashicorp/go-discover/provider/azure"
-	"github.com/hashicorp/go-discover/provider/digitalocean"
 	"github.com/hashicorp/go-discover/provider/gce"
-	"github.com/hashicorp/go-discover/provider/linode"
 	"github.com/hashicorp/go-discover/provider/mdns"
 	"github.com/hashicorp/go-discover/provider/os"
 	"github.com/hashicorp/go-discover/provider/packet"
-	"github.com/hashicorp/go-discover/provider/scaleway"
-	"github.com/hashicorp/go-discover/provider/softlayer"
-	"github.com/hashicorp/go-discover/provider/triton"
-	"github.com/hashicorp/go-discover/provider/vsphere"
 )
 
 // Provider has lookup functions for meta data in a
 // cloud environment.
@@ -45,18 +38,11 @@
 // Providers contains all available providers.
 var Providers = map[string]Provider{
 	"aliyun":       &aliyun.Provider{},
 	"aws":          &aws.Provider{},
-	"azure":        &azure.Provider{},
-	"digitalocean": &digitalocean.Provider{},
 	"gce":          &gce.Provider{},
-	"linode":       &linode.Provider{},
 	"mdns":         &mdns.Provider{},
 	"os":           &os.Provider{},
-	"scaleway":     &scaleway.Provider{},
-	"softlayer":    &softlayer.Provider{},
-	"triton":       &triton.Provider{},
-	"vsphere":      &vsphere.Provider{},
 	"packet":       &packet.Provider{},
 }
 
 // Discover looks up metadata in different cloud environments.
