- From: Tim Smith <
>
- To:
- Subject: [chef] Re: How do you manage multiple data centers
- Date: Tue, 7 May 2013 15:26:42 -0700
The simplest thing to do is to create a role per datacenter. You can have a generic "base" role that contains your various base recipes and attributes that are not specific to each datacenter. Then your datacenter role contains just attributes that are specific to that datacenter such as dns, smtp, etc. You can still have a single Chef server or Hosted Chef to wrap it all up in a single easy to manage interface.
Tim Smith - Systems Engineer m: +1 707.738.8132
On May 7, 2013, at 3:02 PM, Elvin Abordo <
">
> wrote: Oh and each "datacenter role" includes another "default" role that has a master run list that contains organization wide stuff like the apt, resolver, ntp,postfix, etc. etc. cookbooks. the cookbooks that generally shouldn't be modified.
we follow the attribute precedence rules pretty heavily. This allows me to control everything in one shot, like say i want to remove a user everywhere. But if there are pretty little snow flakes it still gives me the final say in the chef_environment.
|
Archive powered by MHonArc 2.6.16.