title: How to iterate over a cucumber feature
body: <p>I'm writing a feature in cucumber that could be applied to a number of objects that can be programmaticaly determined.  Specifically, I'm writing a smoke test for a cloud deployment (though the problem is with cucumber, not the cloud tools, thus stack overflow).</p>
  
  <pre><code>Given a node matching "role:foo"
  When I connect to "automatic.eucalyptus.public_ipv4" on port "default.foo.port"
  Then I should see "Hello"
  </code></pre>
  
  <p>The given does a search for nodes with the role foo does and the automatic.eucalyptus... And port come from the node found.  This works just fine... for one node.</p>
  
  <p>The search could retun multiple nodes in different environments.  Dev will probably return one, test and integration a couple, and prod can vary.  The given already finds all of them.</p>
  
  <p>Looping over the nodes in each step doesn't really work.  If any one failed in the When, the whole thing would fail.  I've looked at scenarios and cucumber-iterate, but both seem to assume that all scenarios are predefined rather than programmatically looked up.</p>
  
  <p>I'm a cuke noob, so I'm probably missing something.  Any thoughts?</p>
  
  <p><strong>Edit</strong></p>
  
  <p>I'm "resolving" the problem by flipping the scenario.  I'm trying to integrate into a larger cluster definition language to define repeatedly call the feature by passing the info as an environment variable.</p>