With the chef, you can add something to the recipe that installs the package so that the package command runs as a superuser rather than executing the chef command as a superuser, for example.
package "mysql" do
user: sudo
action :install
end
So this will do sudo apt-get install mysql, not apt-get install mysql. No documents found.
source
share