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


Chronological Thread 
  • From: Ranjib Dey < >
  • To:
  • Subject: [chef] Re: chef-client didn't upgrade yum package
  • Date: Tue, 26 Mar 2013 12:09:04 -0700

the packages will be upgraded only if the action is :upgrade, default is :install, which only installs if the package is absent, use


yum_package "foo" {action :upgrade}

to upgrade them



On Tue, Mar 26, 2013 at 12:04 PM, < " target="_blank"> > 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.

Xianfeng




Archive powered by MHonArc 2.6.16.

§