[chef] Re: Re: Re: Re: Re: Re: Re: Versioned Environments


Chronological Thread 
  • From: Peter Donald < >
  • To:
  • Subject: [chef] Re: Re: Re: Re: Re: Re: Re: Versioned Environments
  • Date: Mon, 15 Oct 2012 08:38:28 +1100

Hi,

On Sun, Oct 14, 2012 at 1:32 AM, Bryan Brandau < " target="_blank"> > wrote:
It would be incredibly nice if Chef had the same versioning concept for roles or environments that cookbooks have.  


I wonder if that is really needed. As soon as you version roles is there any real difference between them and cookbooks? Initially our infrastructure included a heap of roles that included attributes and recipes. As we evolved we found the need to version of the attributes and recipes. Slowly our roles evolved to what they are today. So our "graphite" role simply includes the "base_linux_server" role and the "fisg-graphite" recipe and all of our configuration and recipe inclusion occurs within "fisg-graphite". Except for a few of our windows nodes, all of our roles have a 1-to-1 mapping to cookbooks. The role is simply a simplified tag that includes the relevant "role cookbook". 

That way we can version the role cookbooks using the same mechanism we version the other cookbooks

--
Cheers,

Peter Donald



Archive powered by MHonArc 2.6.16.

§