We use roles too much but believe they are useful and have a place. We typically end up with every node having three roles - bootstrap, base, <specialty>. Where <specialty> is whatever application, database or thing the node is really for. I agree that going much beyond 3-4 could make things confusing but their additive nature is really handy and allows us to separate responsibilities for the configuration & recipes to different teams with clear delineations of ownership. We also put our run lists in the roles and will sometimes use the <specialty> role to override default attributes for bootstrap/base recipes (tuning ulimits for a specific app or something). We have run into situations where we badly wished that roles were versioned but I think that is because in our <specialty> roles early on we started putting lots of application configuration information into them. Configuration information that we now realize probably should live in data bags that are leveraged by the recipes themselves. - Mike On Sep 15, 2014, at 5:08 PM, Ranjib Dey <
">
> wrote:
|
Archive powered by MHonArc 2.6.16.