[chef] Re: Re: Re: Configuration location philosophies - what's yours?


Chronological Thread 
  • From: Matthew Kent < >
  • To:
  • Subject: [chef] Re: Re: Re: Configuration location philosophies - what's yours?
  • Date: Wed, 04 Aug 2010 14:36:39 -0700

On Wed, 2010-08-04 at 14:02 -0700, Alex Soto wrote:
> Thanks Matthew, 
> 
> I really like your layering of the roles.  I'm wondering if you follow any 
> naming convention for your roles?
> 

Yes! We do employing a naming convention, usually

<project>-<server-type>-<stage>

and I named the final layered roles as "-combined" 

eg: thirdparty-web-server-roundcube-staging-combined.rb

name "thirdparty-web-server-roundcube-staging-combined"
description "thirdparty web webmail staging"
run_list "role[baseline]",
  "role[roaming-profiles]",
  "role[webapp]",
  "role[thirdparty-web-server-production]",
  "role[thirdparty-web-server-staging]",
  "role[thirdparty-web-server-roundcube-production]",
  "role[thirdparty-web-server-roundcube-staging]",
  "role[baseline-runlast-cleanup]"

This list could be cut down as well with some roles including each other
but I ran into an issue documented in 

http://tickets.opscode.com/browse/CHEF-1508

forcing me to lay them all out in one file.

-- 
Matthew Kent \ SA \ bravenet.com




Archive powered by MHonArc 2.6.16.

§