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?