https://codereview.appspot.com/30190043/diff/60001/provider/common/testing/bootstrap.go#newcode17
provider/common/testing/bootstrap.go:17: f :=
func(*common.BootstrapContext, instance.Instance,
*cloudinit.MachineConfig) error {
On 2013/12/02 14:54:09, fwereade wrote:
> Let's log something in here so that there's some way of diagnosing
what happened
> if Disable gets called in a surprising situation.
Please take a look.
https:/ /codereview. appspot. com/30190043/ diff/60001/ cloudinit/ sshinit/ configure_ test.go sshinit/ configure_ test.go (right):
File cloudinit/
https:/ /codereview. appspot. com/30190043/ diff/60001/ cloudinit/ sshinit/ configure_ test.go# newcode36 sshinit/ configure_ test.go: 36: RegisterProvide r("sshinit" , &testProvider{})
cloudinit/
environs.
On 2013/12/02 14:54:09, fwereade wrote:
> Can we stick an explicit "test" into the name somewhere please?
Done.
https:/ /codereview. appspot. com/30190043/ diff/60001/ environs/ bootstrap/ state_test. go bootstrap/ state_test. go (right):
File environs/
https:/ /codereview. appspot. com/30190043/ diff/60001/ environs/ bootstrap/ state_test. go#newcode59 bootstrap/ state_test. go:59: c.Assert(err, gc.IsNil) // doesn't
environs/
exist, juju don't carea
On 2013/12/02 14:54:09, fwereade wrote:
> s/carea/care/
Done.
https:/ /codereview. appspot. com/30190043/ diff/60001/ provider/ common/ bootstrap. go common/ bootstrap. go (right):
File provider/
https:/ /codereview. appspot. com/30190043/ diff/60001/ provider/ common/ bootstrap. go#newcode40 common/ bootstrap. go:40: // Std{in,out,err}, and interrupt
provider/
signal handling.
On 2013/12/02 14:54:09, fwereade wrote:
> I'd like this to be an imminent followup, please :).
No problems.
https:/ /codereview. appspot. com/30190043/ diff/60001/ provider/ common/ bootstrap. go#newcode61 common/ bootstrap. go:61: inst, hw, err = env.StartInstan ce(cons,
provider/
selectedTools, machineConfig)
On 2013/12/02 14:54:09, fwereade wrote:
> Wouldn't this still work with :=, even given inst? Maybe I'm still
sluggish
> after lunch...
No, you're right, that'll work. Fixed.
https:/ /codereview. appspot. com/30190043/ diff/60001/ provider/ common/ testing/ bootstrap. go common/ testing/ bootstrap. go (right):
File provider/
https:/ /codereview. appspot. com/30190043/ diff/60001/ provider/ common/ testing/ bootstrap. go#newcode17 common/ testing/ bootstrap. go:17: f := BootstrapContex t, instance.Instance, MachineConfig) error {
provider/
func(*common.
*cloudinit.
On 2013/12/02 14:54:09, fwereade wrote:
> Let's log something in here so that there's some way of diagnosing
what happened
> if Disable gets called in a surprising situation.
Done.
https:/ /codereview. appspot. com/30190043/ diff/60001/ provider/ maas/maas_ test.go maas/maas_ test.go (right):
File provider/
https:/ /codereview. appspot. com/30190043/ diff/60001/ provider/ maas/maas_ test.go# newcode14 maas/maas_ test.go: 14: commontesting net/juju- core/provider/ common/ testing" otstrap be happier in
provider/
"launchpad.
On 2013/12/02 14:54:09, fwereade wrote:
> Oh, a thought. Might DisableFinishBo
environs/testing?
Hmm yeah that's fine, and stops the package proliferation. Moved.
https:/ /codereview. appspot. com/30190043/ diff/60001/ utils/ssh/ ssh.go
File utils/ssh/ssh.go (left):
https:/ /codereview. appspot. com/30190043/ diff/60001/ utils/ssh/ ssh.go# oldcode15 ssh.go: 15: // Move this to a common package for use in
utils/ssh/
cmd/juju, and others.
On 2013/12/02 14:54:09, fwereade wrote:
> Can the SSHy bits in cmd/juju use this now?
Done. Also updated environs/ sshstorage, and environs/manual. Had to
tweak utils/ssh a bit, and add an ScpCommand function.
https:/ /codereview. appspot. com/30190043/