On Thursday, May 2, 2013 at 11:28 PM, Peter Donald wrote:
Hi,In our infrastructure we have had the need for some of our LWRPs totake some action during the compile phase rather than the convergephase. Mostly this involves publishing calculated values as attributedata so a later resource can make use of the attribute data. We havebeen doing this by overriding the after_created hook in resources. Sothe question is ... is this something anyone else is doing or is itinsanely bad in some way I can't figure out just yet. Thoughts?i.e. We a LWRP similar to ark that downloads and extracts archives andoptionally publishes the directory to which the archive will beextracted as attribute data. We then use this attribute data in afollowing resource definition. See [1]--Cheers,Peter Donald
Archive powered by MHonArc 2.6.16.