Merge lp://staging/~tealeg/charm-helpers/override-file-name-correction into lp://staging/charm-helpers

Proposed by Geoff Teale
Status: Merged
Merged at revision: 420
Proposed branch: lp://staging/~tealeg/charm-helpers/override-file-name-correction
Merge into: lp://staging/charm-helpers
Diff against target: 43 lines (+4/-4)
2 files modified
charmhelpers/core/host.py (+2/-2)
tests/core/test_host.py (+2/-2)
To merge this branch: bzr merge lp://staging/~tealeg/charm-helpers/override-file-name-correction
Reviewer Review Type Date Requested Status
Matt Bruzek Approve
Cory Johns (community) Approve
Review via email: mp+266897@code.staging.launchpad.net

Description of the change

This branch corrects the name of override files used by core.host.service_pause and core.host.service_resume to match the documented standards.

To post a comment you must log in.
Revision history for this message
Cory Johns (johnsca) wrote :

Matches documentation (http://upstart.ubuntu.com/cookbook/#override-files) and tests pass. +1

review: Approve
Revision history for this message
Matt Bruzek (mbruzek) wrote :

I took a look at this change. The tests pass and does match the documentation as Cory already mentioned.

I am not as familiar with this code. Worried about breaking older versions of charmhelpers. Can you explain why someone would call service_pause() and service_resume()? Do you think this of how this would break a charm using this code?

review: Needs Information
Revision history for this message
Geoff Teale (tealeg) wrote :

> I took a look at this change. The tests pass and does match the documentation
> as Cory already mentioned.
>
> I am not as familiar with this code. Worried about breaking older versions of
> charmhelpers. Can you explain why someone would call service_pause() and
> service_resume()? Do you think this of how this would break a charm using
> this code?

Hi Matt,

I doubt it will break anything as the functions in question were added by another member of my team for changes he is making in the swift charms - there will be a number of charms that we'll be working on in coming weeks that require those functions. These methods relate to the need to be able to stop services on an individual unit in HA set-up so that some maintenance tasks can be carried out on the machine on which they are running.

Revision history for this message
Matt Bruzek (mbruzek) wrote :

Thanks for the response Geoff.

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