I have a chef recipe say A which contains three recipes B, C and D. Now i what is to run D in parallel wrt sequential execution of B and C. One hack i know is write is to write logic of B, C and D in python(B.py, C.py and D.py) and execute them in parallel( All.py ) in some script and make a consolidated recipe that calls All.py. But the code is too large to convert. Is there any hack to run recipes in parallel in chef using the same recipes?
No, Chef does not support concurrent execution in the general case. Chef-provisioning specifically supports concurrent handling for VM creation but that's a special case.
Is it possible to run a recipe in parallel with others in chef with some hack?