title: apt-get update and apt-get upgrade in Chef
body: <p>If <code>package "nginx"</code> in Chef gets translated into <code>apt-get install nginx</code> on an Ubuntu node, what can be written in a Chef recipe that would translate into: </p>
  
  <pre><code>apt-get -y update
  apt-get -y upgrade
  </code></pre>
  
  <p>Couldn't figure out from the <a href="https://github.com/opscode-cookbooks/apt" rel="noreferrer"><code>apt</code> cookbook</a>.</p>