Issue #17690 has been updated by eric sorenson. Status changed from Unreviewed to Duplicate
Hi Oliver, thanks for the bug report. I believe this is a duplicate of #11450, so I am closing this ticket in favor of the older one. Please add yourself as a watcher on that ticket to track the progress of the fix. ---------------------------------------- Bug #17690: Provider 'yum' should be used for 'absent' https://projects.puppetlabs.com/issues/17690#change-79915 Author: Oliver Schad Status: Duplicate Priority: Normal Assignee: Category: Target version: Affected Puppet version: 3.0.1 Keywords: Branch: we had here a cyclic dependency between two packages with redhat: you can't remove them with rpm but the logs shows that for state ensure => absent the rpm provider is used although yum is installed and is used for ensure => installed. So this is a provider selection issue. Also specifying the provider "yum" doesn't help, it is ignored. We solved it with state ensure => purged because this state is supported by the yum provider, but not by the rpm provider. This leads to a change in the puppet dashboard for this system for every puppet run. So we introduced a define with a yum call, which makes a "remove". When I read provider/package/yum.rb I don't see an "uninstall" method, only "purge". The rpm provider offers only "uninstall" not "purge". So in my opinion this is a bug cause cyclic dependencies are a use case and yum can handle this. So my suggestion is to extend the yum provider to support the uninstall. -- 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.
