On 04/19/2011 03:57 AM, Ian Mortimer wrote: > On Mon, 2011-04-18 at 23:22 +1000, jcbollinger wrote: > >> (I am fairly sure that >> this is why the yum Package provider uses "rpm -e" instead of "yum >> remove" in the first place.) > > Except that installing or removing packages with rpm is now deprecated: > > http://illiterat.livejournal.com/7834.html
Looking at the provider more closely, it does indeed seem to fall back to rpm for removing packages. However, it does implement a native "purge" function. So setting 'ensure => "purged"' may do the right thing. Then of course, if you want puppet to uninstall using yum but *not* purge, you're currently screwed. The OP may want to consider raising a bug about this. Cheers, Felix -- 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.