title: Chef and ruby: how to convert a array into a set
body: <p>I have an array that looks like this:</p>
  
  <pre><code>nodes = ['server1','server1','server2']
  </code></pre>
  
  <p>In a chef recipe I need to convert into a set before I pass to a template erb.  How do I do that?</p>