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


Chronological Thread 
  • From: Andrea Campi < >
  • To: " " < >
  • Subject: [chef] Re: Re: Conditional execution for custom resources
  • Date: Tue, 19 Mar 2013 13:37:55 +0100

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.

§