I also noticed this today.
Is there a better yum provider?
I want to ensure cups and all the crap it comes with is absent.
puppet calls rpm -e cups and fails on dependencies check.

thanks for any tips

On Jun 22, 8:12 am, Arnau Bria <arnaub...@pic.es> wrote:
> Hi all,
>
> I have defined in my site.pp:
>
> Package {
>        provider=>yum,
>         ensure   => latest,
>         }
>
> and in one of my modules:
>
>  package {"qt":
>                provider=>yum,
>                 ensure   => absent,
>                 }
>         package {"ati-fglrx":
>                provider=>yum,
>                 ensure   => absent,
>                 }
>
>         package {"libmng":
>                provider=>yum,
>                 ensure   => absent,
>                 }
>
> (I've dobledproviderdefinition cause I tought it was not working).
>
> Then, if I go to node and run it by hand I see next error:
>
> err: 
> /:main/Node[td007.pic.es]/blade_x5355/glite31/yaim_packages/Package[libmng]/ensure:
>  change from 1.0.8-1 to absent failed: Execution of '/bin/rpm -e 
> libmng-1.0.8-1.x86_64' returned 1: error: Failed dependencies:
>         libmng.so.1()(64bit) is needed by (installed) qt-3.3.3-16.el4.x86_64
>
> Why is it executing rmp -e and notyumremove?
>
> TIA,
> Arnau

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