- From: Brad Knowles <
>
- To: Brad Knowles <
>
- Cc:
- Subject: [chef] Re: Re: Re: New Community Cookbook: MongoDB
- Date: Fri, 16 Sep 2011 11:45:46 -0500
On Sep 16, 2011, at 9:30 AM, Brad Knowles wrote:
>
> * in every replicaset member there is either directly or indeirectly
>
> the 'mongodb::replicaset' recipe in the run_list (maybe by also adding
>
> this recipe to the role )
>
>
I'm not seeing this in the run_list at the point where we display that
>
information, but I don't know if that's being added at a later time. I
>
will take a look.
I took a deeper look, and I can confirm that 'mongodb::replicaset' is being
added to the run_list.
>
> If I had to debug this further I would remove the the various AND
>
> conditions from the search statement one-by-one and see if rs_nodes
>
> has somemembers then. This way it is easy to find the
>
> culprit.
>
>
I'll start decomposing that next.
In de-composing the various AND conditions, we ran across an issue with the
line that reads:
recipes:mongodb\\:\\:replicaset AND \
I was wondering why this particular syntax was used (with the
double-backslashes), instead of a syntax more like this:
recipes[mongodb::replicaset] AND \
Or why that block is enclosed with double quote characters, where I
understand that single-quote characters would remove the requirement for the
backslash escape mechanism?
Thanks again!
--
Brad Knowles
<
>
Junior Apprentice Prep Cook Trainee
Archive powered by MHonArc 2.6.16.