On Tue, Apr 19, 2011 at 7:46 AM, jcbollinger <john.bollin...@stjude.org> wrote
>
>
> On Apr 19, 8:26 am, Felix Frank <felix.fr...@alumni.tu-berlin.de>
> wrote:
>> On 04/19/2011 03:18 PM, jcbollinger wrote:
>
> [...]
>
>> > The bottom line as far as our discussion goes, however, is that it is
>> > *intentional* that the yum Package provider fails to remove packages
>> > on which other installed packages depend, and that there is good
>> > technical justification for that design choice.  I would be surprised
>> > if other Package providers were different in that regard.  Your Puppet
>> > manifests need to account for that, one way or another.
>>
>> I disagree.
>>
>> First off, the apt provider *will* recursively uninstall depending packages.
>
> That's an unfortunate inconsistency between providers.  I am
> surprised.
>
> Oddly enough, I found bug 1739, closed on 0.24.x, that makes exactly
> the change from "rpm -e" to "yum -y remove".  That would make the yum
> provider work like the apt provider.  I didn't find anything
> suggesting that it was reverted, yet the change is not present in the
> released code.

The commit is still present, it's implemented as the purge action for
yum provider. Check:

git show d5e19f
git blame lib/puppet/provider/package/yum.rb

Nan

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@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