Doug:I’m not sure if you’re using EC2, but if so, and you’re launching instances using knife-ec2, you should have node['ec2']['placement_availability_zone'] available. You could build a single wrapper cookbook, that depends on that attribute’s value, and determines the requisite data center-specific attributes.On March 17, 2014 at 1:54:21 PM, Douglas Garstang ( " target="_blank"> ) wrote:
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-u1bc-location.eu1and 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.