[library] package resource munge - override "latest" as well
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Committed
|
High
|
Dmitry Ilyin | ||
5.0.x |
Invalid
|
High
|
Dmitry Ilyin |
Bug Description
We need to make sure we override (munge) "ensure => latest" just like we do for "ensure => present" in package resource.
In case we have a specific version requirement for the package, we'll install that version instead of "latest" - that's the behavior we expect during OpenStack patching. In other cases puppet will install "latest" available package.
We need to do this because some manifests may use "latest" instead of "present/installed" in their packages declaration and unexpected package upgrade during OpenStack patching (updating or downgrading packages) could cause huge problems. So it would be much safer and more convenient to override "ensure => latest" in "package" puppet resource than checking all manifests and replacing "latest" with "present".
Changed in fuel: | |
milestone: | none → 5.1 |
no longer affects: | fuel/5.1.x |
Fix proposed to branch: master /review. openstack. org/110316
Review: https:/