Re: [Puppet Users] Circular RPM dependencies...

2011-08-25 Thread Mike Lococo
Perhaps I'm being dense, but I don't follow how your response relates to managing packages that have circular deps in puppet. The original question was how to delete two packages with circular deps using puppet. The correct answer is to ensure "purged". The problem with that answer is that it

[Puppet Users] Circular RPM dependencies...

2011-08-25 Thread R P Herrold
On Thu, 25 Aug 2011, Mike Lococo wrote: 2) You must understand how the yum and rpm os commands work, and specifically how they each handle dependencies and circular deps (yum works to satisfy deps, rpm fails unless all deps are specified on a single command-line). The use of verb forms p

Re: [Puppet Users] Circular RPM dependencies...

2011-08-25 Thread Mike Lococo
On 08/25/2011 01:35 PM, Jacob Helwig wrote: I would expect Puppet to end up installing and uninstalling packages every run, since it has no knowledge of the package dependencies. This kind of thing won't happen unless one manually specifies an impossible state, and even then I'm not sure that

Re: [Puppet Users] Circular RPM dependencies...

2011-08-25 Thread Jacob Helwig
On Tue, 23 Aug 2011 12:05:30 +0200, Jakov Sosic wrote: > > On 08/22/2011 06:29 PM, Mike Lococo wrote: > > > This is a long-standing bug, and one that I consider fairly major but > > has been hard to get puppetlabs focused on. > > > > - The circular deps bug was reported 2 years ago. > > http:/

Re: [Puppet Users] Circular RPM dependencies...

2011-08-23 Thread Jakov Sosic
On 08/22/2011 06:29 PM, Mike Lococo wrote: > This is a long-standing bug, and one that I consider fairly major but > has been hard to get puppetlabs focused on. > > - The circular deps bug was reported 2 years ago. > http://projects.puppetlabs.com/issues/1935 > - A few months later a patch is s

Re: [Puppet Users] Circular RPM dependencies...

2011-08-22 Thread Mike Lococo
On 08/18/2011 06:56 PM, Jakov Sosic wrote: I encountered a following problem, if I state for example: package{"aspell-en": ensure => absent, } package{"aspell":ensure => absent, } I get error in logs because of dependencies. It seems that puppet uses 'yum' for installation on CentOS and '

Re: [Puppet Users] Circular RPM dependencies...

2011-08-20 Thread devzero2000
On Fri, Aug 19, 2011 at 12:56 AM, Jakov Sosic wrote: > Hi. > > I encountered a following problem, if I state for example: > > package{"aspell-en": ensure => absent, } > package{"aspell":ensure => absent, } > > I get error in logs because of dependencies. It seems that puppet uses > 'yum' for

Re: [Puppet Users] Circular RPM dependencies...

2011-08-19 Thread Jakov Sosic
On 08/19/2011 12:56 PM, Jonathan Gazeley wrote: > Is it possible to force use of the yum backend for package removals like > this? > > package { ['aspell', 'aspell-en']: > ensure => absent, > provider => 'yum', > } > > I'm not near a puppet machine to test this, but it's probably worth a shot

Re: [Puppet Users] Circular RPM dependencies...

2011-08-19 Thread Jonathan Gazeley
Is it possible to force use of the yum backend for package removals like this? package { ['aspell', 'aspell-en']: ensure => absent, provider => 'yum', } I'm not near a puppet machine to test this, but it's probably worth a shot. Cheers, Jonathan On 18/08/11 23:56, Jakov Sosic wrote: Hi

Re: [Puppet Users] Circular RPM dependencies...

2011-08-19 Thread Denmat
Hi, Haven't tested but can you try: > package{"aspell-en": ensure => absent, } -> > package{"aspell":ensure => absent, } and see if you can order it. You might also get luck from 'before => ' Cheers, Den On 19/08/2011, at 8:56, Jakov Sosic wrote: > Hi. > > I encountered a following probl

[Puppet Users] Circular RPM dependencies...

2011-08-19 Thread Jakov Sosic
Hi. I encountered a following problem, if I state for example: package{"aspell-en": ensure => absent, } package{"aspell":ensure => absent, } I get error in logs because of dependencies. It seems that puppet uses 'yum' for installation on CentOS and 'rpm -e' for removal of packages, so it can