- From: Brad Knowles <
>
- To:
- Cc: Brad Knowles <
>
- Subject: [chef] Re: "Multinode" attributes, e.g.: fodder for /etc/hosts file
- Date: Thu, 5 Sep 2013 17:52:25 -0500
On Sep 5, 2013, at 5:44 PM, Russell Bateman
<
>
wrote:
>
Instead, this information would be a resource stored where? Accessed from
>
the recipe how?
>
>
The specific case to hand is a MongoDB replica set. Each node must know the
>
hostname of all its sibling replica nodes. If this proves too messy, I
>
could just use IP addresses when I erect the replica set using the MongoDB
>
shell.
This is where you use node attributes and search. There are existing
community cookbooks that do exactly this sort of thing with mongodb.
--
Brad Knowles
<
>
LinkedIn Profile: <
http://tinyurl.com/y8kpxu>
Archive powered by MHonArc 2.6.16.