Answering one of my own questions:

>
> Question: will puppet handle downgrades?  ie use 'rpm -f' to force the
> installation?
> Or will it only work for upgrades?
>

>From looking at puppet/provider/package/rpm.rb:
Specifying 'latest' for the rpm provider will cause the puppet client
to do an rpm -qf on the rpm specified in the source parameter.
And downgrades are handled, I think...
it looks like it does rpm -i UNLESS the package is listed as installed
(and not absent), in which case it uses rpm -U.
In both cases it adds '--oldpackage', which is a synonym for force.

So it will handle adding, upgrading, and downgrading a package.

Still appreciate any comments re how to best chain subscribe/notify,
and also if I'm wildly wrong about using the RPM provider in
preference to the YUM provider for our use case.

Thanks

Julian

-- 
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