hi
can someone explain me how cookbook version work ? does it mean that I can have
multi version of one cookbook and specify in run_list which version will be
used ?
hi
can someone explain me how cookbook version work ? does it mean that I can have
multi version of one cookbook and specify in run_list which version will be
used ?
On Wed, Aug 4, 2010 at 11:02, le.huy@ingdirect.es wrote:
hi
can someone explain me how cookbook version work ? does it mean that I can have
multi version of one cookbook and specify in run_list which version will be
used ?
That's how it will work, yes. The code is scheduled to land in 0.10
AIUI; you can have and store multiple versions of cookbooks right now,
but there's no way to select which one to use - you'll always get the
latest one.
-t
Hi
I am interested in the most appropriate way to change an existing cookbook,
Assuming that a cookbook must be run in testing environment for a while before putting them into production,
how we organize these roles and run_list so we can make that kind of change safely with less pain ?
-----Mensaje original-----
De: Thom May [mailto:thom@clearairturbulence.org]
Enviado el: miƩrcoles, 04 de agosto de 2010 13:06
Para: chef@lists.opscode.com
Asunto: [chef] Re: cookbook version
On Wed, Aug 4, 2010 at 11:02, le.huy@ingdirect.es wrote:
hi
can someone explain me how cookbook version work ? does it mean that I
can have multi version of one cookbook and specify in run_list which
version will be used ?
Is there a document on how cookbook merges are handled with versions?
I migrated to chef 0.9 recently and with 0.8 I relied on cookbook
merges between /cookbooks and /site-cookbooks. I used it to still use
nginx::source but with [:nginx][:configure_flags] <<
"--with-http_stub_status_module" by default. My site-cookbooks/nginx
just contained an attribute file.
Turns out that if I version my cookbooks with the same version as the
one in ./cookbooks but this make things difficult to maintain when
updating the base cookbooks.
Is there a way to handle this nicely or should I completely revise my
strategy in order to use the common opscode/chef repo and modify the
minimum to suite my needs?
Thanks
--Gilles
On Wed, Aug 4, 2010 at 4:05 AM, Thom May thom@clearairturbulence.org wrote:
On Wed, Aug 4, 2010 at 11:02, le.huy@ingdirect.es wrote:
hi
can someone explain me how cookbook version work ? does it mean that I can have
multi version of one cookbook and specify in run_list which version will be
used ?That's how it will work, yes. The code is scheduled to land in 0.10
AIUI; you can have and store multiple versions of cookbooks right now,
but there's no way to select which one to use - you'll always get the
latest one.
-t
Thom,
On 4 August 2010 13:05, Thom May thom@clearairturbulence.org wrote:
That's how it will work, yes. The code is scheduled to land in 0.10
AIUI; you can have and store multiple versions of cookbooks right now,
but there's no way to select which one to use - you'll always get the
latest one.
What does Chef server (in 0.9.x) consider to be the latest? I have a
suspicion that the server compares version numbers string wise instead
of numerically. I had two versions of the java cookbook on my server
(0.9.0 and 0.10.0), both coming from cookbooks.opscode.com. When
running the java cookbook, the client always gets the 0.9.0 version. I
had to remove the 0.9.0 version first before the 0.10.0 version gets
picked up.
Ringo