mgagit: Hopefully fix my puppet syntax errors This just splits the template writer out into it's own define.