RE: Re: default provder


Thanks! That did it.

-------- Original Message --------

Subject: [chef] Re: default provder

From: Aaron Abramson <>

Date: Thu, October 20, 2011 11:57 am


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, <> wrote:

How can I set this to default for the whole cookbook?

provider Chef::Provider::package::Yum

so I don’t have to put it in the recipe every time?