On 04/16/2011 09:12 AM, Sans wrote: > > > On Apr 16, 2:36 am, Patrick <kc7...@gmail.com> wrote: >> >>> "ensure => absent" uses "rpm -e' to remove a package, which is a >>> problem for the packages with related dependencies. Is there any way >>> to use "yum remove" to do that? Cheers!! >> >> It's been too long since I use rpm. Are you saying it refuses to remove the >> package because something depends on apache, or that you want to remove >> stuff apache installed (like libapache or whatever)? > > yes, former. In RHEL, system-config-httpd depends on httpd package and > using "rpm -e" httpd cannot be uninstalled if system-config-httpd is > also not uninstalled beforehand. Cheers!!
Hi, what version of puppet is this? Does "puppetd --test --noop -dv" give you (near the top of the output) any indication why it doesn't use the "yum" provider for packages? There are cases where a provider works, but isn't correctly recognized as default on a system. You can include 'provider => "yum"' in your package resources in this case. HTH, 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.