Change imports mitchelh/packer -> hashicorp/packer

This commit is contained in:
Andrew Pryde 2017-04-07 11:20:33 +01:00
parent e981c5bfb5
commit 630ee5d650
16 changed files with 25 additions and 25 deletions

View File

@ -8,7 +8,7 @@ package bmcs
import (
"fmt"
client "github.com/mitchellh/packer/builder/oracle/bmcs/client"
client "github.com/hashicorp/packer/builder/oracle/bmcs/client"
)
// Artifact is an artifact implementation that contains a built Custom Image.

View File

@ -9,7 +9,7 @@ package bmcs
import (
"testing"
"github.com/mitchellh/packer/packer"
"github.com/hashicorp/packer/packer"
)
func TestArtifactImpl(t *testing.T) {

View File

@ -12,11 +12,11 @@ import (
"fmt"
"log"
client "github.com/hashicorp/packer/builder/oracle/bmcs/client"
"github.com/hashicorp/packer/common"
"github.com/hashicorp/packer/helper/communicator"
"github.com/hashicorp/packer/packer"
"github.com/mitchellh/multistep"
client "github.com/mitchellh/packer/builder/oracle/bmcs/client"
"github.com/mitchellh/packer/common"
"github.com/mitchellh/packer/helper/communicator"
"github.com/mitchellh/packer/packer"
)
// BuilderId uniquely identifies the builder

View File

@ -9,7 +9,7 @@ package bmcs
import (
"testing"
"github.com/mitchellh/packer/packer"
"github.com/hashicorp/packer/packer"
)
func TestBuilder_ImplementsBuilder(t *testing.T) {

View File

@ -12,12 +12,12 @@ import (
"os"
"path/filepath"
client "github.com/mitchellh/packer/builder/oracle/bmcs/client"
"github.com/mitchellh/packer/common"
"github.com/mitchellh/packer/helper/communicator"
"github.com/mitchellh/packer/helper/config"
"github.com/mitchellh/packer/packer"
"github.com/mitchellh/packer/template/interpolate"
client "github.com/hashicorp/packer/builder/oracle/bmcs/client"
"github.com/hashicorp/packer/common"
"github.com/hashicorp/packer/helper/communicator"
"github.com/hashicorp/packer/helper/config"
"github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/template/interpolate"
"github.com/mitchellh/go-homedir"
)

View File

@ -13,7 +13,7 @@ import (
"strings"
"testing"
client "github.com/mitchellh/packer/builder/oracle/bmcs/client"
client "github.com/hashicorp/packer/builder/oracle/bmcs/client"
)
func testConfig(accessConfFile *os.File) map[string]interface{} {

View File

@ -7,7 +7,7 @@
package bmcs
import (
client "github.com/mitchellh/packer/builder/oracle/bmcs/client"
client "github.com/hashicorp/packer/builder/oracle/bmcs/client"
)
// Driver interfaces between the builder steps and the BMCS SDK.

View File

@ -10,7 +10,7 @@ import (
"errors"
"fmt"
client "github.com/mitchellh/packer/builder/oracle/bmcs/client"
client "github.com/hashicorp/packer/builder/oracle/bmcs/client"
)
// driverBMCS implements the Driver interface and communicates with Oracle

View File

@ -7,7 +7,7 @@
package bmcs
import (
client "github.com/mitchellh/packer/builder/oracle/bmcs/client"
client "github.com/hashicorp/packer/builder/oracle/bmcs/client"
)
// driverMock implements the Driver interface and communicates with Oracle

View File

@ -9,8 +9,8 @@ package bmcs
import (
"fmt"
packerssh "github.com/hashicorp/packer/communicator/ssh"
"github.com/mitchellh/multistep"
packerssh "github.com/mitchellh/packer/communicator/ssh"
"golang.org/x/crypto/ssh"
)

View File

@ -9,8 +9,8 @@ package bmcs
import (
"fmt"
"github.com/hashicorp/packer/packer"
"github.com/mitchellh/multistep"
"github.com/mitchellh/packer/packer"
)
type stepCreateInstance struct{}

View File

@ -15,8 +15,8 @@ import (
"os"
"runtime"
"github.com/hashicorp/packer/packer"
"github.com/mitchellh/multistep"
"github.com/mitchellh/packer/packer"
"golang.org/x/crypto/ssh"
)

View File

@ -9,8 +9,8 @@ package bmcs
import (
"fmt"
"github.com/hashicorp/packer/packer"
"github.com/mitchellh/multistep"
"github.com/mitchellh/packer/packer"
)
type stepImage struct{}

View File

@ -9,8 +9,8 @@ package bmcs
import (
"fmt"
"github.com/hashicorp/packer/packer"
"github.com/mitchellh/multistep"
"github.com/mitchellh/packer/packer"
)
type stepInstanceInfo struct{}

View File

@ -10,10 +10,10 @@ import (
"bytes"
"os"
"github.com/hashicorp/packer/packer"
"github.com/mitchellh/multistep"
"github.com/mitchellh/packer/packer"
client "github.com/mitchellh/packer/builder/oracle/bmcs/client"
client "github.com/hashicorp/packer/builder/oracle/bmcs/client"
)
// TODO(apryde): It would be good not to have to write a key file to disk to

View File

@ -29,6 +29,7 @@ import (
nullbuilder "github.com/hashicorp/packer/builder/null"
oneandonebuilder "github.com/hashicorp/packer/builder/oneandone"
openstackbuilder "github.com/hashicorp/packer/builder/openstack"
oraclebmcsbuilder "github.com/hashicorp/packer/builder/oracle/bmcs"
parallelsisobuilder "github.com/hashicorp/packer/builder/parallels/iso"
parallelspvmbuilder "github.com/hashicorp/packer/builder/parallels/pvm"
profitbricksbuilder "github.com/hashicorp/packer/builder/profitbricks"
@ -68,7 +69,6 @@ import (
shelllocalprovisioner "github.com/hashicorp/packer/provisioner/shell-local"
windowsrestartprovisioner "github.com/hashicorp/packer/provisioner/windows-restart"
windowsshellprovisioner "github.com/hashicorp/packer/provisioner/windows-shell"
oraclebmcsbuilder "github.com/mitchellh/packer/builder/oracle/bmcs"
)
type PluginCommand struct {