[chef] Moving role attributes into cookbooks


Chronological Thread 
  • From: Douglas Garstang < >
  • To:
  • Subject: [chef] Moving role attributes into cookbooks
  • Date: Mon, 17 Mar 2014 10:54:21 -0700

Doing what I read to be a best practice, I just took a bunch of roles that defined set attributes for specific data centers, and moved them into cookbooks, one per location, ie:

bc-location-u1
bc-location.eu1

and so on. I just occurred to me that if I do this, then all cookbooks will need to depend (in the metadata.rb) file on ALL of these location based cookbooks.

is this correct? What am I missing?

Doug





Archive powered by MHonArc 2.6.16.

§