On Monday, May 6, 2013 at 9:35 PM, Peter Donald wrote:
Hi,On Mon, May 6, 2013 at 1:53 AM, Daniel DeLeo < "> > wrote:I'd advise not to rely on callbacks and side-effects like this. Someonewho's not familiar with this is gonna have a bad time trying to figure outwhere the data comes from.That's not really a concern. There are plenty of things in our chefenvironment that violate the naive phased model (i.e. chef_gem,use_inline_resources in LWRPs etc). As long as there is cleardocumentation I don't see it as an issue.
Why not use another LWRP or resource definition that wraps both?We need the LWRP to define the attribute so it is accessible later inthe compile phase (it is used to configure the creation of otherresources during compile). A resource definition would be nice exceptthat in every case we want to notify if an action is taken.
Thanks!--Cheers,Peter Donald
Archive powered by MHonArc 2.6.16.