Re: [Puppet Users] Re: yum provider executes rpm -e?

2013-08-27 Thread John Florian
On Tuesday, June 30, 2009 6:22:26 PM UTC-4, lutter wrote: The basic issue is that puppet doesn't know about dependencies (not sure it should), but once you throw 'yum -y erase' into the mix, it becomes very easy to write inconsistent manifests, where a package erase removes a package that

Re: [Puppet Users] Re: yum provider executes rpm -e?

2013-08-27 Thread John Florian
On Tuesday, June 30, 2009 4:58:33 AM UTC-4, Peter Meier wrote: While looking at the code and http://reductivelabs.com/trac/puppet/wiki/TypeReference#package you'll also see that the yum provider is purgeable and that the yum provider has an own purge method. So if this would fit your

[Puppet Users] Re: yum provider executes rpm -e?

2009-07-01 Thread David Schmitt
Peter Meier wrote: Hi yeah I also thought that. On the other side installing things (which will install a bunch of dependecies) is also an unexpected result somehow, as the dependencies aren't managed by puppet. For sure this result isn't that worse as uninstall, but I don't think that

[Puppet Users] Re: yum provider executes rpm -e?

2009-06-30 Thread Fletch
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

[Puppet Users] Re: yum provider executes rpm -e?

2009-06-30 Thread Peter Meier
Hi 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 have a look at the code @ lib/puppet/provider/package/yum.rb you'll see that the

[Puppet Users] Re: yum provider executes rpm -e?

2009-06-30 Thread Alexander Bien
Fletch wrote: 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. We discussed this on irc a couple of days ago. I cant seem to find the logfile but if i remember

[Puppet Users] Re: yum provider executes rpm -e?

2009-06-30 Thread Peter Meier
Hi We discussed this on irc a couple of days ago. I cant seem to find the logfile but if i remember correctly someone (Luke?) mentioned that an unobserved call of yum -y remove package can result in unexpected results. See this pastie for an example: http://pastie.org/529143 yeah I also

[Puppet Users] Re: yum provider executes rpm -e?

2009-06-30 Thread Arnau Bria
On Tue, 30 Jun 2009 10:58:33 +0200 Peter Meier wrote: Hi, [...] While looking at the code and http://reductivelabs.com/trac/puppet/wiki/TypeReference#package you'll also see that the yum provider is purgeable and that the yum provider has an own purge method. So if this would fit your

[Puppet Users] Re: yum provider executes rpm -e?

2009-06-30 Thread Fletch
purged works - thanks! On Jun 30, 1:58 am, Peter Meier peter.me...@immerda.ch wrote: Hi 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

[Puppet Users] Re: yum provider executes rpm -e?

2009-06-30 Thread David Lutterkort
On Tue, 2009-06-30 at 11:46 +0200, Peter Meier wrote: yeah I also thought that. On the other side installing things (which will install a bunch of dependecies) is also an unexpected result somehow, as the dependencies aren't managed by puppet. For sure this result isn't that worse as

[Puppet Users] Re: yum provider executes rpm -e?

2009-06-30 Thread Peter Meier
Hi yeah I also thought that. On the other side installing things (which will install a bunch of dependecies) is also an unexpected result somehow, as the dependencies aren't managed by puppet. For sure this result isn't that worse as uninstall, but I don't think that this is really an