[chef] Re: chef-client didn't upgrade yum package


Chronological Thread 
  • From: Noah Kantrowitz < >
  • To:
  • Subject: [chef] Re: chef-client didn't upgrade yum package
  • Date: Tue, 26 Mar 2013 12:07:57 -0700


On Mar 26, 2013, at 12:04 PM, 
< >
 wrote:

> Hi,
> 
> Is it a designed feature that chef-client doesn't automatically upgrade yum
> package even the repository has a newer version of the RPMs? Or I miss
> something here?
> 
> thanks for your info.

The default action is :install, which doesn't upgrade. Try this:

package "name" do
  action :upgrade
end

--Noah




Archive powered by MHonArc 2.6.16.

§