Merge lp://staging/~james-w/charms/precise/haproxy/metrics into lp://staging/charms/haproxy
Proposed by
James Westby
Status: | Merged |
---|---|
Merged at revision: | 80 |
Proposed branch: | lp://staging/~james-w/charms/precise/haproxy/metrics |
Merge into: | lp://staging/charms/haproxy |
Diff against target: |
112 lines (+84/-1) 3 files modified
hooks/hooks.py (+6/-1) hooks/tests/test_install.py (+56/-0) hooks/tests/test_upgrade_charm.py (+22/-0) |
To merge this branch: | bzr merge lp://staging/~james-w/charms/precise/haproxy/metrics |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Charles Butler (community) | Approve | ||
Review via email: mp+221408@code.staging.launchpad.net |
Description of the change
Hi,
When adding the metrics support I missed installing the python-jinja2
package on upgrades.
This fixes that by calling the install hook on upgrades.
It also adds some unit tests for upgrade/install.
Thanks,
James
To post a comment you must log in.
Looks good to me James, thanks for the contribution + tests