In what order resources that are mapped in an array for attributes like require, subscribe, before and notify execute ? Also, when execute, will it fetch all resources at once and runs in parallel or is it synchronized ?
For example,
exec { 'A': }
exec { 'B': }
exec { 'C': }
exec { 'D': require=>[ Exec['A'], Exec['B'], Exec['C'] ]}
Exec['D']
depends on Exec[A],
Exec[B]
and Exec[C]
. When Exec[D]
gets a chance to execute, how's the flow going to be ?
A, B and C runs in parallel in any order ?
or
First A, then B and finally C. Run in order, but none of the resources wait fore the previous resource to complete ?
or
First A, then B but wait for A to complete before it start and finally C but wait for B to complete