I'm trying to write a recipe that will remove ppp from systems. I've tried this in various ways (listing only ppp, listing ppp and dependent packages (like NetworkManager and NetworkManager-glib), using an array of the names...
But Puppet attempts to use an rpm command on each package independently, and gets foiled by the fact that the dependencies won't allow the packages to be removed individually: Dec 4 11:08:12 ny4d-dev02 puppetd[3495]: (//common/Package[ppp]/ ensure) change from 2.4.4-2.el5 to absent failed: Execution of '/bin/ rpm -e ppp-2.4.4-2.el5.x86_64' returned 1: error: Failed dependencies: ppp >= 2.2.4 is needed by (installed) NetworkManager-0.7.0-9.el5.i386 ppp >= 2.2.4 is needed by (installed) NetworkManager-0.7.0-9.el5.x86_64 Dec 4 11:08:12 ny4d-dev02 puppetd[3495]: (//common/Package [NetworkManager-glib]/ensure) change from 0.7.0-9.el5 to absent failed: Execution of '/bin/rpm -e NetworkManager- glib-0.7.0-9.el5.i386' returned 1: error: Failed dependencies: libnm_glib.so.0 is needed by (installed) NetworkManager-0.7.0-9.el5.i386 Dec 4 11:08:13 ny4d-dev02 puppetd[3495]: (//common/Package [NetworkManager]/ensure) change from 0.7.0-9.el5 to absent failed: Execution of '/bin/rpm -e NetworkManager-0.7.0-9.el5.x86_64' returned 1: error: Failed dependencies: libnm-util.so.1()(64bit) is needed by (installed) NetworkManager-glib-0.7.0-9.el5.x86_64 How can I tell Puppet to either use a "yum -y remove" to remove ppp, and therefore get dependent packages removed as well -- or at least tell Puppet it has to remove all packages at once to get past the dependency cycle? Thanks in advance. -Alan -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@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.