title: How can I get the network attribute for my Chef node?
body: <p>I have found ways to get a specific IP address:</p>
  
  <pre><code>node[:network][:interfaces][:eth1][:addresses].detect{|k,v| v[:family] == "inet" }.first
  </code></pre>
  
  <p>...but I need to find the "network" for the ip - ie 10.0.1.0/24</p>
  
  <p>Any ideas?</p>