[chef] Re: Is "knife cookbook upload" Atomic ?


Chronological Thread 
  • From: John Keiser < >
  • To:
  • Subject: [chef] Re: Is "knife cookbook upload" Atomic ?
  • Date: Tue, 25 Aug 2015 15:25:20 +0000

Hi!

knife cookbook upload will atomically switch individual cookbooks, but won't switch out whole sets of cookbooks.

Policyfiles are almost certainly what you are looking for here: assign a policy to your node, and it will lock down to an exact set of cookbooks (and atomically switch from one set to another). You can learn more about Policyfile here: https://www.chef.io/blog/2015/08/18/policyfiles-a-guided-tour/

--John

On Tue, Aug 25, 2015 at 7:40 AM Benzinger, Dennis < "> > wrote:
Hello List,

we are wondering what will happen if a Chef client is starting and at the same
time new cookbooks are uploaded.

Is it guaranteed that the client will either use all old or all new cookbooks?

Or could it happen that it uses a new version of cookbook A but an old version
of cookbook B because the second one was not uploaded yet when the client
started ?


Thanks,
Dennis

--

Dennis Benzinger
IT Architecture Senior Specialist
hybris Cloud Services
" target="_blank">

hybris GmbH
Nymphenburger Straße 86
80636 München, Germany
Fax +49 89 890 65 555
www.hybris.com
hybris GmbH, Nymphenburger Str. 86, 80636 München, Deutschland.
Geschäftsführer: Ariel F. Lüdi, Carsten Thoma, Michael Zips.
Amtsgericht München, HRB 124384.



Archive powered by MHonArc 2.6.16.

§