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


Chronological Thread 
  • From: Adam Jacob < >
  • To: " " < >
  • Subject: [chef] RE: Re: Re: Conditional execution for custom resources
  • Date: Tue, 19 Mar 2013 17:50:06 +0000
  • Accept-language: en-US

Is there still a case for just making a definition a wrapper around making resources and providers?

 

Adam

 

From: Andrea Campi [mailto:
Sent: Tuesday, March 19, 2013 5:38 AM
To:
Subject: [chef] Re: Re: Conditional execution for custom resources

 

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.

§