Re: [Puppet-dev] Handling failures in prefetch

2015-07-23 Thread Nan Liu
On Thu, Jul 23, 2015 at 6:09 AM, Trevor Vaughan wrote: > Just out of curiosity, how difficult would it be to defer the resource > chain until the end of the catalog if a prefetch fails? > Rather then retrying I would be happy if prefetch can specify a specific resource dependency. It will resolv

Re: [Puppet-dev] Handling failures in prefetch

2015-07-23 Thread Trevor Vaughan
Just out of curiosity, how difficult would it be to defer the resource chain until the end of the catalog if a prefetch fails? It may not work in all cases, but it's certainly feasable that the prefetch is failing because of some other item in the catalog that hasn't been applied and, given the co

Re: [Puppet-dev] Handling failures in prefetch

2015-07-23 Thread Gareth Rushgrove
On 23 July 2015 at 03:44, Kylo Ginsberg wrote: > On Wed, Jul 22, 2015 at 1:37 PM, Branan Riley wrote: >> >> On Wed, Jul 22, 2015 at 12:44 PM Kylo Ginsberg >> wrote: >>> >>> On Tue, Jul 21, 2015 at 12:40 PM, Branan Riley >>> wrote: With puppet 4, we made a change to how pref

Re: [Puppet-dev] Handling failures in prefetch

2015-07-22 Thread Kylo Ginsberg
On Wed, Jul 22, 2015 at 1:37 PM, Branan Riley wrote: > On Wed, Jul 22, 2015 at 12:44 PM Kylo Ginsberg > wrote: > >> On Tue, Jul 21, 2015 at 12:40 PM, Branan Riley >> wrote: >> >>> >>> >>> With puppet 4, we made a change to how prefetch failures are handled >>> by the transaction[1]. This is ac

Re: [Puppet-dev] Handling failures in prefetch

2015-07-22 Thread Felix Frank
Seconded! Cheers, Felix On 07/21/2015 10:05 PM, Trevor Vaughan wrote: > I like all the things you have said here. > > Trevor > > On Tue, Jul 21, 2015 at 3:40 PM, Branan Riley > wrote: > > > -- You received this message because you are subscribed to the Google

Re: [Puppet-dev] Handling failures in prefetch

2015-07-22 Thread Branan Riley
On Wed, Jul 22, 2015 at 12:44 PM Kylo Ginsberg wrote: > On Tue, Jul 21, 2015 at 12:40 PM, Branan Riley > wrote: > >> >> >> With puppet 4, we made a change to how prefetch failures are handled >> by the transaction[1]. This is actually a pretty good change, as it >> prevents puppet from some nas

Re: [Puppet-dev] Handling failures in prefetch

2015-07-22 Thread Kylo Ginsberg
On Tue, Jul 21, 2015 at 12:40 PM, Branan Riley wrote: > > > With puppet 4, we made a change to how prefetch failures are handled > by the transaction[1]. This is actually a pretty good change, as it > prevents puppet from some nasty misbehaviors. > > I still don't think it's the "correct" behavi

Re: [Puppet-dev] Handling failures in prefetch

2015-07-21 Thread Trevor Vaughan
I like all the things you have said here. Trevor On Tue, Jul 21, 2015 at 3:40 PM, Branan Riley wrote: > > > With puppet 4, we made a change to how prefetch failures are handled > by the transaction[1]. This is actually a pretty good change, as it > prevents puppet from some nasty misbehaviors.

[Puppet-dev] Handling failures in prefetch

2015-07-21 Thread Branan Riley
With puppet 4, we made a change to how prefetch failures are handled by the transaction[1]. This is actually a pretty good change, as it prevents puppet from some nasty misbehaviors. I still don't think it's the "correct" behavior, though. Aborting the entire catalog because one resource type is