Issue #2866 has been updated by Nick Fagerlund.
After considering this further, I've decided this doesn't entail a
documentation update.
The fact that the yum provider couldn't downgrade was a bug, not a missing
feature -- we expect that any provider that lets you specify a version
(":versionable") should let you specify _any_ available version.
So we were already saying it could do it, and it was just broken; the behavior
has now caught up with the documentation.
----------------------------------------
Feature #2866: Yum package provider does not allow downgrade
https://projects.puppetlabs.com/issues/2866
Author: Grzegorz Nosek
Status: Closed
Priority: Normal
Assignee:
Category: package
Target version: 2.7.0
Affected Puppet version: development
Keywords:
Branch: http://github.com/mmrobins/puppet/tree/ticket/2.6.x/2866
After installing (e.g. by hand) a version of a package later than specified in
the "ensure" attribute the yum provider refuses to downgrade the package:
<pre>
change from 2.5.6-39.g120eba4 to 2.5.6-38.g01d82ad failed: Could not update:
Failed to update to version 2.5.6-38.g01d82ad, got version 2.5.6-39.g120eba4
instead
</pre>
Running "yum downgrade foo-2.5.6-38.g01d82ad" properly downgrades the package,
but puppet always calls "yum install".
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://projects.puppetlabs.com/my/account
--
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-bugs?hl=en.