[chef] Re: Re: Re: Conditional execution for custom resources


Chronological Thread 
  • From: Jesse Nelson < >
  • To: chef < >
  • Subject: [chef] Re: Re: Re: Conditional execution for custom resources
  • Date: Tue, 19 Mar 2013 05:52:26 -0700

Think this would be a great plan :) 



On Tue, Mar 19, 2013 at 5:37 AM, Andrea Campi < " target="_blank"> > wrote:
On Tue, Mar 19, 2013 at 12:22 PM, Jesse Nelson < " target="_blank"> > wrote:
Definitions aren't proper resources this should work as an LWRP tho.


Perhaps it's time to deprecate definitions and start deorbiting them in time for Chef 12?

Those of us who have been using Chef for a while and following the list know that they are the poor step-brothers of LWRPs, but new users are still confused and start using them, only to be told to stop.

Is there any strong argument to keeping them? I'm not aware of any good reason.

My proposal is to to:
* remove them from the documentation, or at least clearly mark them as "do not use in new code";
* have Chef 11 log a warning;
* remove them in time for Chef 12.

Thoughts?

Andrea




Archive powered by MHonArc 2.6.16.

§