There's already lots of work done by the OpenStack projects in forms of .yaml files that can be easily ported over.

Then it's really just a matter of puppetizing the process like done in OpenStack in order to support master-slave stuff and adding the jobs.

Endre.