On Tue, Dec 22, 2009 at 6:50 AM, R.I.Pienaar <r...@devco.net> wrote:
> hello,
>
> ----- "Matthew Hyclak" <hyc...@gmail.com> wrote:
>
>> > Wish I'll be wrong, but seems like I won't be able to downgrade
>> packages via yum.
>>
>> Downgrade via yum is done by a plugin that comes with some caveats
>> (like how do you "downgrade" a post script that creates a user in
>> version 2, but not in version 1). This plugin is also not supported
>> on some earlier versions of yum.
>>
>> It might be possible to modify the yum provider in puppet to check
>> for the existence of the plugin, and if the requested version is less
>> than the installed version, call yum with the downgrade option. My
>> recommendation would be to open a feature request in the bug tracker
>> and let someone more versed in ruby and the provider than I am
>> comment.
>
>
> automated, unattended and untested downgrading of packages is a recipe for 
> disaster, I think puppet is right in by default not doing downgrades since 
> while it might work for your package in this case, it certainly wont work for 
> many, I've seen downgrades leaving machines very broken indeed due to post 
> scripts not being written to support it as Matthew correctly points out.
>
> If we are to add support for downgrades I'd say it should come with an 
> additional force => true style property on the package resource as it really 
> is very dangerous.
>

+1

Matt

--

You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.


Reply via email to