[Puppet Users] Re: howto make file resource purge option aware of other puppet resources managed files

2011-08-31 Thread piavlo
http://projects.puppetlabs.com/issues/9277 On Aug 30, 7:48 pm, Daniel Pittman dan...@puppetlabs.com wrote: Oh, dear.  Yes, John has it. :/ This is definitely a bug, and something we should fix.  Can you file a ticket with the details, so that we don't lose track of this? Daniel On

[Puppet Users] Re: howto make file resource purge option aware of other puppet resources managed files

2011-08-31 Thread jcbollinger
On Aug 31, 6:41 am, piavlo lolitus...@gmail.com wrote:  Hi John Thanks for pointing me to the resources purge option - i was not aware of it. However I get this error then trying it err: Failed to apply catalog: Parameter purge failed: Purging is only supported on types that accept

Re: [Puppet Users] Re: howto make file resource purge option aware of other puppet resources managed files

2011-08-30 Thread Nan Liu
On Mon, Aug 29, 2011 at 7:38 PM, piavlo lolitus...@gmail.com wrote: Hi Daniel, it looks indeed that it works in some/most cases - I tried to create a minimal test class to check it using only file resources and it works as you say - and as I want. So I have to post here one of the actual not

[Puppet Users] Re: howto make file resource purge option aware of other puppet resources managed files

2011-08-30 Thread piavlo
Hi Nan Adding file { /etc/yum.repos.d/${name}.repo: ensure = file } took care of the problem. I still wonder if it should have worked without explicit file resource? Or purge is not supposed to be aware of other non file puppet resources? Thanks Alex On Aug 30, 5:11 pm, Nan Liu

Re: [Puppet Users] Re: howto make file resource purge option aware of other puppet resources managed files

2011-08-30 Thread Nan Liu
On Tue, Aug 30, 2011 at 11:07 AM, piavlo lolitus...@gmail.com wrote: Hi Nan Adding file { /etc/yum.repos.d/${name}.repo:  ensure = file } took care of the problem. I still wonder if it should have worked without explicit file resource? Or purge is not supposed to be aware of other non

Re: [Puppet Users] Re: howto make file resource purge option aware of other puppet resources managed files

2011-08-30 Thread Daniel Pittman
Oh, dear. Yes, John has it. :/ This is definitely a bug, and something we should fix. Can you file a ticket with the details, so that we don't lose track of this? Daniel On Tue, Aug 30, 2011 at 06:26, jcbollinger john.bollin...@stjude.org wrote: You put your finger on it when you wrote It

[Puppet Users] Re: howto make file resource purge option aware of other puppet resources managed files

2011-08-29 Thread piavlo
Hi Daniel, it looks indeed that it works in some/most cases - I tried to create a minimal test class to check it using only file resources and it works as you say - and as I want. So I have to post here one of the actual not so minimal use case which depend on the expected behaviour.