[chef] multiple clusters and attributes


Chronological Thread 
  • From: "Van Fossan,Randy" < >
  • To: < >
  • Subject: [chef] multiple clusters and attributes
  • Date: Fri, 6 Apr 2012 10:05:59 -0400

How are you guys handling attributes for multiple systems (like clusters)?? 

 

For example, in cluster, I need to be able to add all nodes in the cluster to the /etc/hosts file on each cluster node.   I am not sure of the best method for setting / adding attributes for these entries without creating something like a separate role for each cluster.

 

I already have a hosts cookbook to add additional entries if the attribute has data.   I just do not know how to populate that array differently for different clusters.

 

Anyone have any suggestions or ideas?

 

Thanks
  Randy




Archive powered by MHonArc 2.6.16.

§