Merge lp://qastaging/~billy-olsen/charm-helpers/pass-params-to-upstart-scripts into lp://qastaging/charm-helpers

Proposed by Billy Olsen
Status: Merged
Merged at revision: 683
Proposed branch: lp://qastaging/~billy-olsen/charm-helpers/pass-params-to-upstart-scripts
Merge into: lp://qastaging/charm-helpers
Diff against target: 296 lines (+190/-30)
2 files modified
charmhelpers/core/host.py (+158/-30)
tests/core/test_host.py (+32/-0)
To merge this branch: bzr merge lp://qastaging/~billy-olsen/charm-helpers/pass-params-to-upstart-scripts
Reviewer Review Type Date Requested Status
Jorge Niedbalski (community) Approve
Review via email: mp+316521@code.qastaging.launchpad.net

Description of the change

This adds the ability to provide additional arguments to the upstart scripts when attempting to stop, start, restart, reload, etc a service. This is necessary to stop specific service instances in scenarios such as ceph-osd, where it may not always be desirable to be limited to all or none of the service instances at one time.

To post a comment you must log in.
Revision history for this message
Jorge Niedbalski (niedbalski) wrote :

LGTM, I found a minor issue with one of the tests (https://pastebin.canonical.com/178544/), but I fixed it by my own prior to merge the change.

Thanks for your contribution.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches