- From: Peter Norton <
>
- To:
- Subject: [chef] Re: Find Attributes in the 'Expanded' Attributes
- Date: Wed, 2 Nov 2011 16:10:10 -0400
bjbq4d (if that really is your name) try this:
https://github.com/infochimps/cluster_chef/tree/master/site-cookbooks/cluster_service_discovery
This gets used with knife and cluster_chef. When you launch the
cluster, the nodes are registered.
-Peter
On Wed, Nov 2, 2011 at 1:18 PM,
<
>
wrote:
>
Hi, I have a cookbook that uses search within its recipes in order to
>
describe
>
a cluster. I am using a specific attribute (clusterID) to define the
>
grouping
>
(and their recipes as their specific units master/slave...). Adding this
>
attribute to the node directly works fine and search finds it easily.
>
>
My problem is that if you were to use an environment or role and define the
>
clusterID (makes sense if you were to assign this to many nodes), search
>
will
>
pick up the attribute only after the node has run chef-client.
>
>
I have even tried running the 'knife index rebuild' command and I still get
>
nothing. Is there anyway to fix this?
>
Archive powered by MHonArc 2.6.16.