Issue #2866 has been updated by John DeStefano.
Oliver Hookins wrote: > Perhaps that indicates that the package providers need a new feature > :downgradeable ? At least yum, apt, gem support it (and probably a few more). Exactly: sorry if I wasn't clear. From Grzegorz's original ticket: *Running “yum downgrade foo-2.5.6-38.g01d82ad” properly downgrades the package, but puppet always calls “yum install”.* Yum certainly provides this functionality, and if I'm to trust the release notes (we can't use 2.7 yet: currently still on 2/6/x), Puppet does now as well. But according to the current docs, 'downgradeable' is still not a feature available for the 'package' type. ---------------------------------------- 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.
