Merge lp://qastaging/~gandelman-a/charms/precise/keystone/avoid_upgrade_in_install into lp://qastaging/~openstack-charmers/charms/precise/keystone/ha-support

Proposed by Adam Gandelman
Status: Merged
Merge reported by: James Page
Merged at revision: not available
Proposed branch: lp://qastaging/~gandelman-a/charms/precise/keystone/avoid_upgrade_in_install
Merge into: lp://qastaging/~openstack-charmers/charms/precise/keystone/ha-support
Diff against target: 45 lines (+16/-2)
2 files modified
hooks/lib/utils.py (+15/-1)
revision (+1/-1)
To merge this branch: bzr merge lp://qastaging/~gandelman-a/charms/precise/keystone/avoid_upgrade_in_install
Reviewer Review Type Date Requested Status
James Page Approve
Review via email: mp+162456@code.qastaging.launchpad.net

Description of the change

Updates utils.install to check if a package is installed before attempting to install it. This should help avoid unwanted upgrades when re-calling utils.install(*pkgs) from upgrade hooks. Should be merged into the helpers library after here.

To post a comment you must log in.
Revision history for this message
James Page (james-page) wrote :

Works for me

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