[chef] Re: default provder


Chronological Thread 
  • From: Aaron Abramson < >
  • To:
  • Subject: [chef] Re: default provder
  • Date: Thu, 20 Oct 2011 13:57:40 -0500

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.



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?




Archive powered by MHonArc 2.6.16.

§