Yeah, I'm not a huge fan, for the same reason – we move from you being explicit, to our making decisions about behavior.
Adam
From: Jesse Nelson <
">
>
Reply-To: " "> " < "> > Date: Wednesday, February 27, 2013 8:07 PM To: chef < "> > Subject: [chef] Re: Re: Re: Re: Re: Re: CHEF-3930: Run apt-get update automagically if apt-get install fails I also feel like this is crossing the line. Where now we are doing something that we weren't asked to do simply because we think we know what you want. What happens if that is exactly what a user doesn't want. Tho I can't see why an apt-get update
would be a bad thing or break anything on the surface. It just smells bad. If it is to be implemented it has to be an optional disable.
On the Side note I like the idea of error callbacks for providers or retry hooks. Something we could code at a high level for some providers to do when failure happens to try to recover. This was brought up and then dismissed, but I could see
there being some interesting uses. This being one of them.
On Wed, Feb 27, 2013 at 4:24 PM, Pete Cheslock
<
" target="_blank">
> wrote:
I would be +1 for this - in a previous life we had to often run apt-get update two or three times in a run just to cover edge cases when a solution like this could have helped us or made things as least less repetitive during a chef run. |
Archive powered by MHonArc 2.6.16.