Merge lp:~thumper/juju-core/upstart-services into lp:~go-bot/juju-core/trunk
Status: | Merged |
---|---|
Approved by: | Tim Penhey |
Approved revision: | no longer in the source branch. |
Merged at revision: | 1406 |
Proposed branch: | lp:~thumper/juju-core/upstart-services |
Merge into: | lp:~go-bot/juju-core/trunk |
Prerequisite: | lp:~thumper/juju-core/find-ipv4-address |
Diff against target: |
245 lines (+83/-62) 3 files modified
environs/cloudinit/cloudinit.go (+17/-58) environs/cloudinit/cloudinit_test.go (+4/-4) upstart/service.go (+62/-0) |
To merge this branch: | bzr merge lp:~thumper/juju-core/upstart-services |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Juju Engineering | Pending | ||
Review via email: mp+173121@code.launchpad.net |
Commit message
Further break up cloudinit.
Move the definitions of the mongo and machine agent
services into the upstart package. These have been
parameterized to allow reuse in the local provider.
Description of the change
Further break up cloudinit.
Move the definitions of the mongo and machine agent
services into the upstart package. These have been
parameterized to allow reuse in the local provider.
There definitions have been moved from the cloudinit
function, and as you can see there are two different
ways of defining the command. I have left it up to
the reviewers to decide which is better. Personally
I'm leaning towards the style used to define the
mongo service.
Also, wondering about specific tests for these. They
don't really do much except format the parameters
for a new object.
Reviewers: mp+173121_ code.launchpad. net,
Message:
Please take a look.
Description:
Further break up cloudinit.
Move the definitions of the mongo and machine agent
services into the upstart package. These have been
parameterized to allow reuse in the local provider.
There definitions have been moved from the cloudinit
function, and as you can see there are two different
ways of defining the command. I have left it up to
the reviewers to decide which is better. Personally
I'm leaning towards the style used to define the
mongo service.
Also, wondering about specific tests for these. They
don't really do much except format the parameters
for a new object.
https:/ /code.launchpad .net/~thumper/ juju-core/ upstart- services/ +merge/ 173121
Requires: /code.launchpad .net/~thumper/ juju-core/ find-ipv4- address/ +merge/ 173119
https:/
(do not edit description out of merge proposal)
Please review this at https:/ /codereview. appspot. com/10952043/
Affected files: cloudinit/ cloudinit. go local/config. go local/config_ test.go local/environ. go local/environpr ovider. go local/environpr ovider_ test.go local/export_ test.go
A [revision details]
M environs/all/all.go
M environs/
M environs/
M environs/
M environs/
M environs/
M environs/
M environs/
A upstart/service.go