Merge lp:~axwalk/juju-core/lp1273933-local-disallow-hostunits-machine-0 into lp:~go-bot/juju-core/trunk
Status: | Merged |
---|---|
Approved by: | Andrew Wilkins |
Approved revision: | no longer in the source branch. |
Merged at revision: | 2305 |
Proposed branch: | lp:~axwalk/juju-core/lp1273933-local-disallow-hostunits-machine-0 |
Merge into: | lp:~go-bot/juju-core/trunk |
Diff against target: |
211 lines (+82/-17) 7 files modified
agent/agent.go (+1/-0) agent/bootstrap.go (+16/-0) agent/bootstrap_test.go (+16/-0) cmd/jujud/bootstrap.go (+9/-13) cmd/jujud/bootstrap_test.go (+24/-1) provider/local/environ.go (+9/-3) provider/local/environ_test.go (+7/-0) |
To merge this branch: | bzr merge lp:~axwalk/juju-core/lp1273933-local-disallow-hostunits-machine-0 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Juju Engineering | Pending | ||
Review via email: mp+204829@code.launchpad.net |
Commit message
Make bootstrap machine jobs configurable
This addresses a long-standing TODO in
cmd/jujud to making bootstrap machine
jobs configurable. If agent.BootstrapJobs
is present in the agent configuration
key/value map, it will be used instead
of the defaults (the existing hard-coded
values).
The local provider is updated to set
agent.BootstrapJobs to be {JobManageEnviron}.
Fixes lp:1273933
Description of the change
Make bootstrap machine jobs configurable
This addresses a long-standing TODO in
cmd/jujud to making bootstrap machine
jobs configurable. If agent.BootstrapJobs
is present in the agent configuration
key/value map, it will be used instead
of the defaults (the existing hard-coded
values).
The local provider is updated to set
agent.BootstrapJobs to be {JobManageEnviron}.
Fixes lp:1273933
Reviewers: mp+204829_ code.launchpad. net,
Message:
Please take a look.
Description:
Make bootstrap machine jobs configurable
This addresses a long-standing TODO in
cmd/jujud to making bootstrap machine
jobs configurable. If agent.BootstrapJobs
is present in the agent configuration
key/value map, it will be used instead
of the defaults (the existing hard-coded
values).
The local provider is updated to set
agent.BootstrapJobs to be {JobManageEnviron}.
Fixes lp:1273933
https:/ /code.launchpad .net/~axwalk/ juju-core/ lp1273933- local-disallow- hostunits- machine- 0/+merge/ 204829
(do not edit description out of merge proposal)
Please review this at https:/ /codereview. appspot. com/60310044/
Affected files (+84, -17 lines): _test.go bootstrap. go bootstrap_ test.go local/environ. go local/environ_ test.go
A [revision details]
M agent/agent.go
M agent/bootstrap.go
M agent/bootstrap
M cmd/jujud/
M cmd/jujud/
M provider/
M provider/