fixed template to make it more puppet 3