Merge lp:~paulgear/charm-helpers/nrpe-remove-checks into lp:charm-helpers
Proposed by
Paul Gear
Status: | Merged |
---|---|
Merged at revision: | 476 |
Proposed branch: | lp:~paulgear/charm-helpers/nrpe-remove-checks |
Merge into: | lp:charm-helpers |
Diff against target: |
116 lines (+43/-11) 2 files modified
charmhelpers/contrib/charmsupport/nrpe.py (+39/-7) tests/contrib/charmsupport/test_nrpe.py (+4/-4) |
To merge this branch: | bzr merge lp:~paulgear/charm-helpers/nrpe-remove-checks |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Stuart Bishop (community) | Needs Fixing | ||
Review via email: mp+275665@code.launchpad.net |
Description of the change
This branch adds support for removing nrpe checks, reduces duplicated paths, and reduces the chance of a small (rather unlikely) bug whereby one check could remove another's export files.
To post a comment you must log in.
Looks good, except for one bug commented on inline (I think you wrote 'pass' when you meant 'return' in _remove_ service_ files).
I tend to prefer foo.endswith instead of re.search('.*...'), but whatever floats your boat.