Is there a way to tell a chef node to run all the recipe files in a cookbook without having to manually add each one to the runlist or perform some other manual task from the workstation?
I suspect that there may be a way to query the list of available recipes at chef-client execution time, but I don't know what the ruby command/syntax would be.
find /recipes/directory -type f -maxdepth 1 >> runlist.fileor whatever is appropriate for chef. - bgStack15for f in `ls -I default.rb -1`; do echo "include_recipe 'cookbook::$f'"; done > default.rbThis mean default recipe should have only these inclusions, if you have code in ti, move it to anotehr recipe. (But that sounds a bad pattern) - Tensibai