title: Manage chef-client run dependencies between nodes
body: <p>I have the following dependencies during an app-installation/bootstrap across multiple nodes:</p>
  
  <ol>
  <li><strong>node_a</strong>: do stuff</li>
  <li><strong>node_b</strong>: wait for node_a to finish stuff in 1.</li>
  <li><strong>node_b</strong>: do stuff</li>
  <li><strong>node_a</strong>: wait for node_b to finish stuff in 3.</li>
  <li><strong>node_a</strong>: do some more stuff</li>
  </ol>
  
  <p>So the thing is that I have chef-run dependencies between two nodes that have to finish stuff before the other node can proceed.</p>
  
  <p>All nodes reside in the same Environment and I was thinking of setting an Environment attribute that tells the waiting host when/if it can proceed, or if it should fail to not wait forever.</p>
  
  <p>The question is though: What would be an elegant solution to this dependency problem that stretches across multiple Nodes?</p>
  
  <p>Cheers and Thanks,
  Stefan</p>