Add support for hiera

This is to make it possible to easily define jobs in hiera.