Deploy cookbook to multiple nodes

Hello

I would like to assign a single cookboo to a group of node in a particular environment?

Is that possible

yes its possible with roles.

any idea how to do that

can you actually set a role to an environment? so that every node in that environment will get the same role