Refactor puppet manifest in to a module