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


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


On Tuesday, March 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.

Xianfeng
What does your resource look like? If the action is :install, then it should not upgrade, unless you have a version parameter specifying a newer version. If you always want the newest version, you should use action :upgrade

See also: http://docs.opscode.com/resource_package.html#actions

HTH,

-- 
Daniel DeLeo




Archive powered by MHonArc 2.6.16.

§