On Wednesday, January 9, 2013 2:34:30 PM UTC-7, Wolf Noble wrote: > > Hi Gang, > > My colleagues and I are contemplating refactoring our modules to take > advantage of the "roles/profiles" paradigm suggested by Craig Dunn in his > blog post found here: > http://www.craigdunn.org/2012/05/239/ > > Before we jump feet-first into adopting this paradigm, I thought it a good > idea to reach out and see what everyone else thinks about this. > > We're currently struggling with some problems that this paradigm seems to > solve quite nicely; but I'm not convinced it's the best abstraction / > organization paradigm out there. > > If you've not read it, I think It's worth the few minutes it takes to > read. Thanks Craig, for writing it. > > > > > ________________________________ > > This message may contain confidential or privileged information. If you > are not the intended recipient, please advise us immediately and delete > this message. See http://www.datapipe.com/legal/email_disclaimer/ for > further information on confidentiality and the risks of non-secure > electronic communication. If you cannot access these links, please notify > us by reply message and we will send the contents to you. >
I read Craig's article numerous times and have recently published an article<http://quickshiftin.com/blog/2014/01/composition-in-puppet/>on my thoughts. To summarize, I feel the big lesson from the article is composition is needed to define reusable grouped module declarations (aka *roles*). Whether or not you like the notion of the 2-layered approach (roles *and* profiles) is something else and a bit extra IMO. That said I'm only managing tens of servers rather than hundreds or thousands so far, but for me one layer to represent 'roles' has worked great. What it amounts to for me is a simple guideline - leverage inheritance (or the hiera hierarchy) as much as possible and introduce composition on a need-to basis. Composition is necessary though, unless all your systems are identical. Thanks again Craig for the article. Neat to find you on the google group! -nathan -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/c2c138f4-a703-43c9-8110-0522697063bc%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
