I have few nodes in running mode, I have to set hostname to those nodes.
Is there any Cookbook, in that we can set attribute host_name and run that recipe on respective nodes?
This answer is over 6 years old.
As @lamont points out chef now supports a hostname resources
There is a community hostname cookbook.