title: Parsing Casandra.yaml in Ruby/Inspec to get seeds value
body: <p><strong>How do I parse the following yaml from Cassandra.yaml in Ruby (InSpec) profile to get the seeds value. I would to get all the 3 Ipaddress in one sting or the 3 IP addresses in 3 strings.</strong></p>
  <p>seed_provider:</p>
  <pre><code>- class_name: org.apache.cassandra.locator.SimpleSeedProvider
  
    parameters:
  
        # seeds is actually a comma-delimited list of addresses.
  
        # Ex: &quot;&lt;ip1&gt;,&lt;ip2&gt;,&lt;ip3&gt;&quot;
  
        - seeds: &quot;10.0.0.1, 10.0.0.2, 10.0.0.3&quot;
  </code></pre>