Merge lp:~rogpeppe/juju-core/037-startinstance-returns-tools into lp:~juju/juju-core/trunk
Status: | Work in progress |
---|---|
Proposed branch: | lp:~rogpeppe/juju-core/037-startinstance-returns-tools |
Merge into: | lp:~juju/juju-core/trunk |
Diff against target: |
418 lines (+77/-40) 10 files modified
cmd/juju/status_test.go (+2/-2) environs/dummy/environs.go (+11/-4) environs/ec2/ec2.go (+10/-10) environs/ec2/live_test.go (+5/-5) environs/ec2/local_test.go (+1/-1) environs/interface.go (+3/-2) environs/jujutest/livetests.go (+32/-6) environs/jujutest/tests.go (+5/-2) worker/firewaller/firewaller_test.go (+7/-7) worker/provisioner/provisioner.go (+1/-1) |
To merge this branch: | bzr merge lp:~rogpeppe/juju-core/037-startinstance-returns-tools |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
The Go Language Gophers | Pending | ||
Review via email:
|
Description of the change
environs: make StartInstance return the chosen tools.
This means that the provisioner can set the proposed tools
for a new machine without trying to second-guess the
provider choice.
This requires lp:~rogpeppe/goamz/predictable-urls
for the tests to pass.
Unmerged revisions
- 431. By Roger Peppe
-
worker/provisioner: fix StartInstance call
- 430. By Roger Peppe
-
revert SetProposedTools behaviour
- 429. By Roger Peppe
-
gofmt
- 428. By Roger Peppe
-
environs: make StartInstance return tools
- 427. By Aram Hăvărneanu
-
mstate: add config node
R=niemeyer
CC=
https://codereview. appspot. com/6460105 - 426. By Aram Hăvărneanu
-
mstate: use juju-core/testing for MongoDB
Use juju-core/testing for starting MongoDB instead of starting it
by hand.R=niemeyer
CC=
https://codereview. appspot. com/6459100 - 425. By Aram Hăvărneanu
-
testing: add MongoDB support
R=niemeyer
CC=
https://codereview. appspot. com/6443148 - 424. By Frank Mueller
-
mstate: changed lifecycle implementation in unit
Unit now has Life(), Kill() and Die() and uses the utility
function ensureLife(). The test for removing a unit has
been changed.R=aram, niemeyer
CC=
https://codereview. appspot. com/6476044 - 423. By Dave Cheney
-
state: add initial config map to Initialise
state.Initialise now takes a config map that is inserted into
/environment on creation.R=niemeyer
CC=
https://codereview. appspot. com/6458161 - 422. By Roger Peppe
-
environs: tweaks to ListTools interface
This makes it easier for upgrade logic to operate on the set of all
available tools.R=niemeyer
CC=
https://codereview. appspot. com/6485044
Reviewers: mp+121248_ code.launchpad. net,
Message:
Please take a look.
Description:
environs: make StartInstance return the chosen tools.
This means that the provisioner can set the proposed tools
for a new machine without trying to second-guess the
provider choice.
We also make the provisioner and the bootstrap init set the proposed
tools for
the new machine.
This requires lp:~rogpeppe/goamz/predictable-urls
for the tests to pass.
https:/ /code.launchpad .net/~rogpeppe/ juju-core/ 037-startinstan ce-returns- tools/+ merge/121248
(do not edit description out of merge proposal)
Please review this at https:/ /codereview. appspot. com/6475058/
Affected files: status_ test.go bootstrap. go dummy/environs. go ec2/live_ test.go ec2/local_ test.go interface. go jujutest/ livetests. go jujutest/ tests.go firewaller/ firewaller_ test.go provisioner/ provisioner. go
A [revision details]
M cmd/juju/
M cmd/jujud/
M environs/
M environs/ec2/ec2.go
M environs/
M environs/
M environs/
M environs/
M environs/
M worker/
M worker/