title: How do you perform a package install as 'root' via sudo in Chef?
body: <p>With chef, is it possible to add something to a recipe that is installing a package to make the package command run as the super user rather than run the chef command as the super user, e.g.</p>
  
  <pre><code>package "mysql" do
    user: sudo
    action :install
  end
  </code></pre>
  
  <p>So this would execute sudo apt-get install mysql rather than apt-get install mysql. Can't find anything in the docs.</p>