[chef] Re: CHEF-4579: should package action install also upgrade?


Chronological Thread 
  • From: Brian Hatfield < >
  • To:
  • Subject: [chef] Re: CHEF-4579: should package action install also upgrade?
  • Date: Wed, 2 Oct 2013 15:33:57 -0400

No. I strongly object to this.

action :upgrade exists and is sufficient.

If action :install performed upgrades, it would absolutely destroy things, for example running MongoDB using the 10gen repos and having a 2.2 database upgrade to 2.4 behind your back, etc.

Brian


On Wed, Oct 2, 2013 at 3:23 PM, Bryan McLellan < " target="_blank"> > wrote:
'yum install foo' and 'apt-get install foo' will both install package
foo if it is not installed, and upgrade foo to a later version if
there is one available.

In Chef, the package install action will only install the package.
We're presuming here if you have chef-client running all the time you
don't want it constantly updating your systems behind your back.

Should this be different?

https://tickets.opscode.com/browse/CHEF-4579

--
Bryan McLellan | opscode | technical program manager, open source
(c) 206.607.7108 | (t) @btmspox | (b) http://blog.loftninjas.org




Archive powered by MHonArc 2.6.16.

§