how can i execute one cookbook/recipe to multiple nodes, what is the command i can use ?
Two methods:
1)Set up chef client to run on multiple nodes via cron. I use the chef-client cookbook to configure this automatically.
https://supermarket.chef.io/cookbooks/chef-client
- Ad-hoc cookbook runs on multiple nodes can be done with chef-run
https://www.chef.sh/docs/chef-workstation/chef-run-users-guide/
1 Like
Thanks Karla