Executing chef recipe only after another recipe is finished
问题 I have two recipes in different cookbooks. I need the first recipe to be completely finished before the second one starts execution, as it places some files that the second will need. I put the first one before the second in the run list, but it seems as if they get executed in parallel. How can I trigger the second recipe's execution when the first is done? (Note that they are in different cookbooks.) 回答1: Can you post a snippet of the code. My guess is that you're making use of LWRP