I encountered various errors when puppet modules were executed in random order. It's probably a problem of puppet modules themself but before they got fixed Kafo provides this feature to specify in which order should the modules be executed.

This is core functionality in kafo that does not have to be necessarily used by foreman (as soon as puppet modules are fixed this can be removed from config).