RE: Re: default provder


#1

Thanks! That did it.

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

Subject: [chef] Re: default provder

From: Aaron Abramson <aabramson@wi-figuys.com>

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

To: chef@lists.opscode.com

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::package::Yum

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