Hi
I want to use host_rsa_public key of nodes in the same role for key
authentication
Is it anyway to access data of other node in a recipe ?
Hi
I want to use host_rsa_public key of nodes in the same role for key
authentication
Is it anyway to access data of other node in a recipe ?
On Fri, Aug 13, 2010 at 6:27 AM, le.huy@ingdirect.es wrote:
I want to use host_rsa_public key of nodes in the same role for key
authentication Is it anyway to access data of other node in a recipe ?
You can use the search API:
role_nodes = search(:node, 'run_list:role[my_role]');
each element of the array will have all the node data available to
Chef at the time the recipe is run.
--
Mark J. Reed markjreed@gmail.com