Merge lp:~james-page/charm-helpers/inteli-restart into lp:charm-helpers
Proposed by
James Page
Status: | Merged |
---|---|
Merged at revision: | 24 |
Proposed branch: | lp:~james-page/charm-helpers/inteli-restart |
Merge into: | lp:charm-helpers |
Diff against target: |
165 lines (+143/-0) 2 files modified
charmhelpers/core/host.py (+43/-0) tests/core/test_host.py (+100/-0) |
To merge this branch: | bzr merge lp:~james-page/charm-helpers/inteli-restart |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Adam Gandelman (community) | Approve | ||
James Page | Needs Resubmitting | ||
Review via email: mp+168734@code.launchpad.net |
Description of the change
Inteligent restarts of services based on configuration file changes
Example:
@inteli_
def ceph_client_
...
In the above example, ceph-mon and ceph-osd would be restarted if the configuration file /etc/ceph/ceph.conf is changed by the hook being executed.
This was missed in the initial sync from openstack-
To post a comment you must log in.
Not sure where, but any chance this can live somewhere out of hahelpers? I'd like to be able to use this without carrying the rest of the hahelpers. Would it make sense to add this to charmhelpers. core.host?