How can I set this to default for the whole cookbook?
provider Chef::Provider::Yum
so I don’t have to put it in the recipe every time?
How can I set this to default for the whole cookbook?
provider Chef::Provider::Yum
so I don’t have to put it in the recipe every time?
Use yum_package instead of just package.
If the distro is CentOS or Redhat, yum is the default provider so you don't need to define it.
On Oct 20, 2011, at 1:46 PM, djo@dave-n-georgi.com wrote:
How can I set this to default for the whole cookbook?
provider Chef::Provider::Yum
so I don't have to put it in the recipe every time?