On Thursday, August 29, 2013 at 5:23 PM, Larry Wright wrote:
I've done this with a data bag. Just write to a 'progress' data bag at each interval. As long as the data bag is only used for this purpose, there shouldn't be any concurrency issues.Hope this helps.LarryOn Aug 29, 2013, at 3:50 PM, Brad Knowles < "> > wrote:Folks,I'm curious to know what the current best practice is with regards to keeping your central chef server updated with current run state information as you go through a lengthy process? Do you have each recipe doing a node.set on an attribute and then a node.save? If so, how "heavy" is a node.save operation?I know that we need to avoid writing to data bags, because they don't support multiple simultaneous writers. However, other than using attributes and doing a node.save, I can't think of any obvious way to have my recipes storing centrally available information on their current runtime status.
Archive powered by MHonArc 2.6.16.